Re: account control to ssh
From: James Wyatt (jwyatt@rwsystems.net)
Date: 03/28/01
- Next message: Mason Harding: "Bridging and IPF"
- Previous message: Peter Radcliffe: "Re: account control to ssh"
- In reply to: George.Giles@mcmail.vanderbilt.edu: "account control to ssh"
- Next in thread: Olivier Nicole: "Re: account control to ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 Mar 2001 10:48:23 -0600 (CST) From: James Wyatt <jwyatt@rwsystems.net> To: George.Giles@mcmail.vanderbilt.edu
On Wed, 28 Mar 2001 George.Giles@mcmail.vanderbilt.edu wrote:
> How would I restrict incoming ssh connections on a per user basis ?
>
> TIA
In the /etc/sshd_config (or wherever) configuration file you can add
groups and users in allow/deny fashion like:
AllowGroups wheel sshuser
AllowUser goodguy1 goodgal2
DenyGroups nobody ftpuser
Don't forget the useful:
PermitRootLogin no
Hope this helps! - Jy@
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
- Next message: Mason Harding: "Bridging and IPF"
- Previous message: Peter Radcliffe: "Re: account control to ssh"
- In reply to: George.Giles@mcmail.vanderbilt.edu: "account control to ssh"
- Next in thread: Olivier Nicole: "Re: account control to ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]