I would like to block some users from ssh login. I logged in as root and used Vi editor for making changes in sshd_config. Command is : " vi /etc/ssh/sshd_config " I added " #DenyUsers user1 " to the sshd_config and then restarted ssh. However i still can login to ssh with user1. How can i block it? Do i have to show you the sshd_config parameters? Thanks!
Asked
Active
Viewed 886 times