Re: account control to ssh

From: James Wyatt (jwyatt@rwsystems.net)
Date: 03/28/01


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