SSH Public Key Help!
Hi,I would like to perform rsync via crontab but unfortunately I cannot do it without asking me password.
When I generating Publick Key, here is what I did:
1. ssh-keygen -t rsa -N ''
2. scp ~/.ssh/id_rsa.pub myusername@server.domain.com:~/.ssh/authorized_keys
And when I tested rsync with this command:
rsync -avz -e ssh /rsynctest myusername@server.domain.com:rsynctest
It still be asking for my password?
The keygen and the copy was successful. I already changed the permissions of ./ssh directory and files to 600 and even to 777.
What do you think is wrong?
Thanks in advance.