Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
server-administration:netcat-over-ssh [2011-04-18 21:20:01]
garrett.plasky Approved
server-administration:netcat-over-ssh [2011-04-18 21:20:34]
garrett.plasky Approved
Line 39: Line 39:
 <sxh plain>nc -l 19000|bzip2 -d|dd bs=16M of=/dev/sdb</sxh> <sxh plain>nc -l 19000|bzip2 -d|dd bs=16M of=/dev/sdb</sxh>
  
-This tells netcat to listen on port 19000 for incoming data, and then pipe that data to bzip for decompression, and then finally pipe the decompressed data to dd to be written to /dev/sdb. +This tells netcat to listen on port 19000 for incoming data, then pipe that data to bzip for decompression, and then finally pipe the decompressed data to dd to be written to /dev/sdb. 
  
 Once we have this listening (you won't see any output after you hit Enter), we can move on to starting the data transfer on serverA: Once we have this listening (you won't see any output after you hit Enter), we can move on to starting the data transfer on serverA: