Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Oct 2006 23:35:56 +0300
From:      Diomidis Spinellis <dds@aueb.gr>
To:        Oliver Fromme <olli@lurza.secnetix.de>
Cc:        freebsd-stable@FreeBSD.ORG, freebsd@jdc.parodius.com
Subject:   Re: scp -c none (was Re: NFS client slow on amd64 6.2-PRERELEASE #2)
Message-ID:  <4529612C.8000908@aueb.gr>
In-Reply-To: <200610081454.k98Eseas063823@lurza.secnetix.de>
References:  <200610081454.k98Eseas063823@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme wrote:
> Jeremy Chadwick <freebsd@jdc.parodius.com> wrote:
>  > [...]
>  > It's really too bad the OpenBSD guys refuse to
>  > incorporate the HP (high-performance) patches into OpenSSH, and
>  > being able to say "-c none" would *really* help when it comes to
>  > benchmarking network I/O via scp
> 
> Here's a patch for FreeBSD:
> 
> http://www.secnetix.de/~olli/FreeBSD/openssh-cipher-none.patch
> 
> Go to /usr/src/crypto/openssh, then apply the patch and
> rebuild libssh, ssh and sshd.  Then you can use "-c none".
> 
> I use "scp -c none" a lot within my internal network to
> transfer files between slow boxes.  Encryption isn't really
> required there, but I can still use all of ssh'd features
> such as .ssh/authorized_keys, aliases via .ssh/config etc.
> 
> I considered submitting the patch for official inclusion,
> but the OpenSSH people would reject it because they call
> it "insecure", and the FreeBSD people would reject it
> because they say the patch should be submitted to the
> OpenSSH people.  *sigh*  :-(

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 - }

I use it for exactly the same purpose: copies between slow machines 
within my internal network.

Diomidis - dds@



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4529612C.8000908>