Tuesday, August 28, 2012

Receiving 'Access Denied' just after typing the username in Putty

Problem: Getting 'Access Denied' just after typing username in putty.

Information: The above problem occurs because of the failure of GSSAPI authentication.

What is GSSAPI?  
Generic Security Services Application Program Interface(GSSAPI) is a ITEF standard for doing strong encrypted authentication in network based applications. OPENssh uses this API and the underlying kerberos 5 code to provide a alternative means of authentication other than ssh_keys.
The GSSAPI, by itself, does not provide any security. Instead, security service vendors provide GSSAPI implementations usually in the form of libraries installed with their security software.


1. Open Putty.
2. Go to Connection->SSH->Auth->GSSAPI.
3. Uncheck the "Attempt GSSAPI authentication(SSH2-only)" option.
4. Save the session.

Putty: Access Denied Problem

Note: PuTTY 0.62 fixed the bug where failing GSSAPI authentication caused this error message.