Showing posts with label rsync. Show all posts
Showing posts with label rsync. Show all posts

rsync through jumphost handy command

rsync -azvP -e 'ssh -A -J user1@10.99.1.50:22'  user1@192.168.20.163:/opt/backup/configuration/zipped/configuration_2020-03-19-07-47-44.backup  /path/local/

specify port for rsync

ubuntu 14.04.4
rsync  version 3.1.0

rsync -rvz -e 'ssh -p 2222' --progress --remove-sent-files ./dir user@host:/path
 
 
rsync --progress -avz -e 'ssh -p 44022' user1@100.126.1.106:/remoteshared /local/dir_A