hi,
how to login to remote machine without password? after we use
and we use
. i.e the
/etc/shadow file should not contain password of test. i tried using rsa i didn't get.
I tried like this.
machine1:
Code:
ssh-keygen -t rsa -f .ssh/id_rsa
scp id_rsa.pub machine2@example.com
Code:
(i have taken blank password)
machine2:
useradd test
cp id_rsa.pub /home/test/.ssh/.authorized_keys
from machine1 when i am trying to do ssh it prompting for rsa password, if cancle it, it is prompting for machine1 password. should we modify any thing in /etc/ssh/sshd_config file? if so what should we change?