Learn about Linux
Download Linux
Get Linux help
Get special offers on:
Linux Application Dev Programming Software
Email:
#
Return to CLI Magic: netcat
© Copyright 1999-2008 - SourceForge, Inc., All Rights Reserved About Linux.com - Privacy Statement - Terms of Use - Advertise - Trademark - Ask Linux Questions - Write for Us - RSS Feed ThinkGeek - Slashdot - SourceForge.net - freshmeat - Surveys - Jobs
Securing netcat & transferring files
Posted by: Anonymous Coward on November 15, 2005 11:02 PMssh into a system (a.com) and forward a port:
ssh a.com -L 51001:127.0.0.1:51001
Now you can transfer files:
On a.com, nc -lvnp 51001 127.0.0.1 > file
On your system, nc -v -w 2 127.0.0.1 51001 file
The file will get transferred, securely, with less overhead then scp, with error correction (via TCP).
#