Setup the SSH login with key authentication
ssh-keygen -t rsa -b 2048 -f ductam-rsync-key
Move the public(!) key to the remote server:
scp ductam-rsync-key.pub [email protected]:/home/
Append the public key to the “authorized_keys” on your remote server:
ssh -l root ductam.info
cat ductam-rsync-key.pub >> .ssh/authorized_keys
Test the connection:
ssh -l root -i ~/.ssh/ductam-rsync-key ductam.info
You should not be prompted for a password.
Leave a Reply