A user is unable to ssh to a Linux box. There is no prompt for password and directly drops to a “Permission denied” error.
ssh user@linux Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
The user uses password authentication and does not use keys. Inspecting sshd_config on the server, password authentication is disabled for this user. This is the reason why the user was unable to login.
A snippet of sshd_config with the settings and explanation.
# Example of overriding settings on a per-user basis #Match User anoncvs # X11Forwarding no # AllowTcpForwarding no # ForceCommand cvs server Match User user PasswordAuthentication no