Wednesday, August 29, 2018

rsync: copy files over ssh with non-default port

rsync -azvh -e 'ssh -p 22222' ./source_folder user@destination_ip:/destination/folder/name