Is there any way to verify why SSH key exchange between 2 servers 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.
I tried using this: On server(A) you connect via ssh user1@host? You might try ssh -o PreferredAuthentications=publickey user1@host but it show permission denied Permission denied (gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive).
Any advise on how to check what is wrong? Just additional info in Server A i am not using the root account.