Using PuTTY in Windows 7 as SSH client to connect Linux systems, you receive a denied error message. Because Windows 7 doesn’t include an SSH client, the open source tool PuTTY is the most used by administrators.
When you try performing an SSH connection to a Linux client using PuTTY, after inserting the username and before entering the password system replies with an error message:
Logging in through the console, error is not shown.
This problem is due to the encryption GSSAPI options enabled by default in PuTTY and this must be disabled.
Start PuTTY and create a new connection. Go to section Connection > SSH > Auth > GSSAPI and disable the option Attempt GSSAPI authentication (SSH-2 only).
In the Session panel enter the Host Name (or IP address) to connect with and save the session giving a name in the Saved Sessions field.
Trying once again to establish an SSH connection with the Linux client, error is no longer displayed.
With this fix the problem is quickly solved without any red status or network services interruption.