LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   logging onto SSH (https://www.linuxquestions.org/questions/linux-newbie-8/logging-onto-ssh-85657/)

robmainella 08-25-2003 06:23 PM

logging onto SSH
 
How can i restrict certain users from logging onto SSH. I tried to create a userlist like with vsFTP but that does not work. Any suggestions

Rob

kev82 08-25-2003 06:35 PM

set there shell to /bin/false wont let them log into many other things though

EnigmaX 08-25-2003 06:38 PM

Not really what you are looking for, but you could set everyone who should have access to SSH into a group, and change the others access to -rwx (except on files like su)

Hangdog42 08-25-2003 07:40 PM

Your /etc/ssh/sshd_config has an AllowUsers line that lets you restrict ssh access to the users named on that line. Check out man sshd_config for the fine details.

Miyamoto 08-26-2003 10:17 AM

I posted something similar to this in the Mandrake forum. You can find it here.

jdruin 08-26-2003 02:21 PM

"The option AllowUsers specifies which users can access ssh services. Multiple users can be specified, separated by spaces. "

from "COnfigure the SSH file" at
http://pierre.mit.edu/compfac/linux/...p15sec122.html


All times are GMT -5. The time now is 09:54 AM.