Answers for "ssh key for rsync"

1

rsync with ssh key

# This way you can do the job with your SSH key

rsync -Pav -e "ssh -i $HOME/.ssh/somekey" username@hostname:/from/dir/ /to/dir/
Posted by: Guest on March-04-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language