Answers for "rsync with ssh key"

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
0

rsync ssh

# You'll need to fill in a username, the user's IP address, 
# and a file/directory to recieve
rsync -av remote-user@<IP address>:/path/to/remote/file /local/destination
Posted by: Guest on February-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language