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
Re:Securing netcat & transferring files
Posted by: Anonymous Coward on November 15, 2005 11:05 PMssh into a.com as above.
ssh b.com -L 51002:127.0.0.1:51002
On a.com:nc -lvnp 51001 127.0.0.1 file
On your system, connect the pipes:
nc -v -w 2 127.0.0.1 51001 \
| nc -v -w2 127.0.0.1 51002
#