Add users in ‘AllowUsers’ of SSH for SSH access

If users are not listed in ‘AllowUsers’ list for SSH, these users will be blocked from accessing the server via SSH.
Users will need to be added to the /etc/ssh/sshd_config file.

add this line at the end of the file: AllowUsers username1

Don’t forget to restart the server.


Didn't find what you were looking for? Try these links:

You can follow any responses to this entry through the RSS 2.0 feed.