How to use keyboard interactive authentication putty

Jupiterimages, Brand X Pictures/Brand X Pictures/Getty Images

PUTTY is a free, open-source terminal emulator program for Windows. PUTTY supports connecting to SSH, Telnet, rlogin and other text console servers over the Internet or a local network.

PUTTY supports a variety of authentication for connecting to SSH servers, including basic password authentication and public key authentication. One of the authentication methods is keyboard interactive authentication, which allows the SSH server to ask an arbitrary question and the user to input an arbitrary response. For example, the SSH console could ask a security question only the user would know or for a one-time password. Keyboard interactive authentication is enabled in PUTTY by default, but PUTTY might use other authentication methods instead if they're enabled.

Open PUTTY by clicking "Start," "All Programs," "PUTTY" and "PUTTY."

Click the plus sign to the left of "SSH" under the "Connection" header at the left side of the PUTTY window.

Click "Auth" under "SSH."

Deselect the "Bypass Authentication Entirely," "Attempt Authentication Using Pageant" and "Attempt TLS or CryptoCard Auth" check boxes by clicking them if they're enabled.

Verify the "Attempt Keyboard-Interactive Auth" check box is enabled. Click it if it isn't enabled.

Click "Session" at the left side of the PUTTY window.

Type the IP address or host name of the SSH server into the "Host Name" box.

Type the port of the SSH server into the "Port" box.

Click "SSH" under "Connection Type."

Save the session and authentication settings by typing a name for the session in the "Saved Sessions" box and clicking "Save." You can use these settings again by clicking the name of the session and clicking "Load."

Connect to the SSH server by clicking "Open."

Type your user name into the terminal when prompted and press "Enter."

Provide the answer for the keyboard-interactive authentication prompt by typing it and pressing "Enter."