[nycbug-talk] HPN-SSH

David Rio Deiros driodeiros at gmail.com
Wed May 24 02:04:10 EDT 2006


On Mon, May 22, 2006 at 03:37:24PM -0400, N.J. Thomas wrote:
> * Okan Demirmen <okan at demirmen.com> [2006-05-22 14:45:20 -0400]:
> > as an alternative, consider piping over ssh - that tends to be so much
> > faster than scp'ing (for me) - however, i have to numbers to back that
> > up ;)
> 
> I do this when I need to do a quick and dirty file transfer and security
> is not a concern:
> 
>     $ nc -v -l 10000|tar xvf -              # wait for file to be transferred
>     $ tar cf - foo |nc -v example.org 10000 # (sending machine) transfer file

Also, using this method (and even ssh) you may want to read this:

http://www.psc.edu/networking/projects/tcptune/

Basically it explains how to tweak the tcp/ip stack in order to get a
better performance. 

This is very interesting also:

http://www.sun.com/blueprints/0203/817-1657.pdf

David



More information about the talk mailing list