This is my first post on this forum. After googling for the past hour, I have not found an answer for a question that ought to be pretty easy to answer. I am trying to set up a script that copies data from one root on one Linux box to root on another Linux box.
I logged onto the source book, got root access and I did "ssh-keygen -t dsa" and I generated a key. I then copied that key to /root.ssh/authorized_keys on the destination box. No matter what I do, I keep getting prompted for a password when I try to use scp on the source box to copy a file to the destination box, using root as both source and destination account.
How do I fix this so I am not prompted for a password?