SSH key exchange is not working
In Server A: I did the following steps:
ssh-keygen –t rsa cd /.ssh cp id_rsa.pub authorized_keys
Then in Server B: I created the .ssh directory and uploaded the authorized_keys from Server A
I tried logging in from Server A to Server B but the system is still prompting me to enter password.
Can anyone advise? Below is the ouput i got when using the following command:
ssh -v -o PreferredAuthentications=publickey user@host debug1: Next authentication method: publickey debug1: Trying private key: /export/home/user/.ssh/identity debug1: Trying public key: /export/home/user/.ssh/id_rsa debug1: Authentications that can continue: gssapi-keyex,gssapi-with-mic,publicke y,password,keyboard-interactive debug1: Trying private key: /export/home/user/.ssh/id_dsa debug1: No more authentication methods to try. Permission denied (gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive).