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:
"The only way of finding the limits of the possible is by going beyond them into the impossible." -
Arthur C. Clarke