• 1-888-289-2246
  • 24x7x365 Presence

Allowing specific users for SSH logins


Open the /etc/ssh/sshd_config file

Add an AllowUsers line at the bottom of the file and write the name of the user for whom you want to allow SSH

Allow Users user1 user2 user3

Now only user1, user2 and user3 can login though SSH.

]]>


Leave a Reply

Your email address will not be published. Required fields are marked *