Scp,sftp through a tunnel
Learn how to copy files through a tunnel using scp or sftp
Last updated
scp -P <PORT> <LOCAL-FILE> <USER>@<RPORT-SERVER>:<DESTINATION>scp -P 22708 /etc/hosts hero@rport.example.com:/tmp/rsync -e "ssh -p 22708" /etc/hosts hero@rport.example.com:/tmp/