3 May
2002
3 May
'02
11:12
the public key needs to be placed in the .ssh/authorized_keys2. the rights for this file should be rw only for owner. also, check your log file for errors. Negrisan Laurentiu wrote:
Hello ! I wish to make a backup script for copy some files from one server to other via scp ... Supouse I have 2 servers named server1 and server2 .
-server1:
ssh-keygen -t rsa I put empty password scp id_rsa.pub root@server2:~root/.ssh/know_hosts2
-server2:
when I wish to run : ssh server1 server1 ask me for password ...
Where I can find a good explanation for this stuff ? Thank You !