Top

Netcat: stdin/stdout over network

Netcat: stdin/stdout over network

(2 votes, average: 4.00 out of 5)
Loading...

Recently I wanted to transfer data over the local network. I had to make an image of a drive, so I used dd.

To do this I used nc to redirect stdin and sdtout as follows:

It’s important to set up the destination host first:

On the source host you start the transfer with

nc is not limited to dd, you can redirect any stream you want to.