I'm trying to connect SSH using Putty to my server but somehow I cannot connect and it comes with Access Denied error when I type in my username.
Is there something I need to do to fix this issue?
migrated from stackoverflow.com Oct 2 '11 at 23:17
This question came from our site for professional and enthusiast programmers.
Putty has GSSAPI enabled by default.
Turn it off if you are not using Kerberos (and chances are, you are not in your environment).
I dealt with a few weeks back with when a new administrator could not login to any ssh host with putty - even the one that I know should be working for him. It seems that with GSSAPI Auth enabled, Putty will attempt to login with non-existent kerberos credentials, which resulted in an immediate Access Denied message:
By way of comparison, here is me trying to login to a host that has the DenyUsers directive enabled (and without GSSAPI Auth enabled):
Chances are this problem isn't PuTTY specific and you'll encounter it with any SSH client. You either don't have permission to log in via SSH or you have the wrong username/password combo.
You should ensure that your user account is listed in the