Monday, September 1, 2008

On Solaris putty login fails with Using keyboard-interactive authentication

While connecting through putty from windows vmware machine to solaris machine after giving username and password it fails to logon to database bu displaying message 'Using keyboard-interactive authentication' and 'Access denied'.
Here is the sample output:
login as: oracle
Using keyboard-interactive authentication.
Password:
Access denied
Using keyboard-interactive authentication.

Solution of The Problem

You can solve the problem through several ways. The method I use is,
Way 1: With help of one linux machine.
1.Using putty log on to a linux machine that works.
2.With the linux mahine console I use ssh solaris_machine_name -Y
3.After providing username and password I am connected to the solaris shell.

This method is easy if you have a linux machine.

Way 2: With PuttyGen
1.Download PuttyGen.exe from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html.

2.Run the puttygen program and hit the 'generate' button.

3.After some moments public key that is displayed in the tool. Copy the key and paste it into the ~/.ssh/authorized_keys file on the Solaris machine.

4.Save the private key on the Windows machine by using the 'Save Private Key' button. While saving it give a name.

5.In the PuTTY configuration, choose Connection->SSH->Auth, and select the file (the private key) that you saved in the step 4.

6.Open the connection, and it should work.

No comments:

Post a Comment