How to Use Keyboard Interactive Authentication with PuTTY

PuTTY is a free, open-source terminal emulator program for Windows. PuTTY supports connecting to SSH, Telnet and other text servers over a 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 supported by PuTTY is keyboard interactive authentication, which allows the SSH server to ask an arbitrary question and the user to input an arbitrary response. To use keyboard interactive authentication in PuTTY, though, you must enable the method.

...

Step

Launch PuTTY on the computer.

Step

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

Step

Click "Auth" under "SSH."

Step

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

Step

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

Step

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

Step

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

Step

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

Step

Click "SSH" under "Connection Type."

Step

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."

Step

Connect to the SSH server by clicking "Open."

Step

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

Step

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