SSH user login to linux system
Hi,
i want to set the restrict users login to linux system via ssh to 1. I changed the /etc/ssh/sshd_config file maxstartups to 1, it also not working. Any idea where to do the changes. Thanks. |
maxstartups affects max № of unauthenticated attemps
Code:
echo "login hard maxlogins 1" >> /etc/security/limits.conf |
still not working
|
Quote:
Search for the line: Quote:
|
HI ,
I changed the value of maxstartups 1 . still i can able to login to server . |
Quote:
and then restart the service, I'm not sure which one will work. Give it a try, and let me know the results. :) |
All times are GMT -5. The time now is 11:53 PM. |