Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
Open the file /etc/ssh/sshd_config
Search for the line:
Quote:
#MaxStartups 10
MaxSessions=1
Remove the # from the front and reduce the value to 1, then Restart the service.
Last edited by Sayan Acharjee; 03-23-2010 at 06:04 AM.
I changed the value of maxstartups 1 . still i can able to login to server .
Try putting Maxsessions = 1 or MaxSessions 1
and then restart the service, I'm not sure which one will work.
Give it a try, and let me know the results.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.