How to copy files to remote server through SSH Tunnel using ngrok and rsync (quick-note)

rsync -av -e "ssh [email protected] -p port" path_from_copy :path_to_copy --progress

Important: don’t forget the : before the second path.

In case you want to Watch the destination folder size in real time, open another terminal windows, ssh to the server, cd to the folder in question and type:

watch "du -h --max-depth=1"


Comments powered by Disqus