I need backup files to a tape drive on a remote server without being prompted for password.
I got the part working to tar files to the remote tape drive like this:
Code:
tar czfv - /data/home/users/manuel/Volunteer | ssh user@192.x.x.x "cat > /dev/st0"
currently I got rsync to work with out being prompted for password like this:
Code:
rsync -aqH --delete -e "ssh -i /root/rsync-key" /var/opt/ user@192.x.x.x:/var/opt
How can I get the above tar command to work like the rsync command so it does not prompt me for a password.