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 |
set there shell to /bin/false wont let them log into many other things though
|
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)
|
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.
|
I posted something similar to this in the Mandrake forum. You can find it here.
|
"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. |