SBM Labs

Cyber Security Collaboration Project

File transfer using nc
12 May 2012


We need to transfer file fileName from host hostName1 to host hostName2.


We will use nc utility.

$ man nc

Example of use.

You should run command on host hostName2.

$ nc -l -p portNumber > fileName

Then you should run command on host hostName1.

$ nc hostName2 portNumber < fileName

SSH connection through Tor
Local port forwarding over SSH