you expect
Passwordless SSH. If so,
On your PC
#
ssh-keygen -t rsa ( passphrase should be empty )
Generating public/private rsa key pair.
Enter file in which to save the key (/root/.
ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
then,
# cd /root/.
ssh/
Pls scp id_rsa.pub to the Server
# scp id_rsa.pub root@server:/root/.
ssh/authorized_keys
then, finally
ssh to the server from your PC. it would be
passwordless.
pls see below
#
ssh server
Pls try