LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   block SSH connection to non root users (https://www.linuxquestions.org/questions/linux-networking-3/block-ssh-connection-to-non-root-users-25544/)

mangueJOE 07-11-2002 07:46 AM

block SSH connection to non root users
 
How can I do that?

Florian R. 07-11-2002 11:26 AM

Only One Setting
 
So limit access to users of the group "root"
add a the line:
AllowGroups root
to the config-file:
/etc/ssh/sshd-config

Mara 07-11-2002 12:50 PM

Or you can limit only to user root. In most cases there's no real difference.
AllowUsers root

mangueJOE 07-11-2002 03:15 PM

thanks dude


All times are GMT -5. The time now is 06:41 AM.