scp -c none (was Re: NFS client slow on amd64 6.2-PRERELEASE #2)
Hans Lambermont
hans at lambermont.dyndns.org
Mon Oct 9 07:28:43 UTC 2006
Diomidis Spinellis wrote:
> You can also use ports/net/socketpipe. For example you can copy a
> directory with:
>
> socketpipe -b -i { tar cf - directory } -l { ssh remotehost } -r
> { tar xvf - }
Just curious, what is the advantage of this approach to the following :
tar cf - directory | ( ssh remotehost 'cd targetdir && tar xpf -' )
Something with buffering perhaps ?
regards,
Hans Lambermont
More information about the freebsd-stable
mailing list