I have a server name rs. Rs connect to srv1 and srv2 via ssh with authentication by key configured.
The pair of keys has been generated with key-gen
The same key as been transferred successfully to srv1 and srv2 with ssh-id-copy. I have check authorized_keys file.
sshd_conf is the same on both destination servers (srv1 and srv2).
When ssh “[email protected]” all is fine.
When ssh “[email protected]” i m prompt for user password.
Permission seems ok and are the same on both destination servers.
What’s wwrong ?
I need When ssh “[email protected]” and When ssh “[email protected]” works the same without askin for password.
Thank
ccnet is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.