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?
|
show 1 more comment
feedback
|
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). Explanation: 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):
| ||||
feedback
|
|
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 | |||||||||||
feedback
|
telnet servername 22ornetcat servername 22and look forSSH-2.0-...banner message.) Try the 'real'sshclient program, run it with thessh -v servername-vcommand line option to dump debugging messages, you might find why putty can't connect that way. – sarnold Oct 2 '11 at 23:26