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.
Leave a Reply