With Secure Copy (slowest) : scp -r dir user@destination-host:/tmp/
Tar through SSH: tar czpf – dir | ssh user@destination-host tar xzpf – -C /tmp/
Tar with Netcat (fastest):
- On destination-host: nc -l -p 7000 | tar xzpf – -C /tmp/
- On source-host: tar czpf – dir | nc -w 10 destination-host 7000
For the methods with tar command, you can use verbose with the command on the destination host to log the process.









