HPN and None options in OpenSSH

Dag-Erling Smørgrav des at des.no
Sat Jan 23 20:33:06 UTC 2016


Kevin Oberman <rkoberman at gmail.com> writes:
> Dag-Erling Smørgrav <des at des.no> writes:
> > Julian Elischer <julian at freebsd.org> writes:
> > > what is the internal window size in the new ssh?
> > 64 kB.
> Are you sure of this?

Sorry, I was thinking of 6.6 (in stable/10).  The buffer code in 7.1
supports dynamically-sized buffers with a hard limit of 128 MB.  The
default window size for client sessions is 2 MB, or 1 MB if associated
with a tty.  I'm not sure what the maximum size is.  Note that scp, sftp
etc. count as client sessions.  X11 and agent forwarding use different
(smaller) windows which improve latency at the cost of throughput.

> [...] scp still performed poorly when compared to other technologies

scp is a horrible protocol, use sftp or (preferably) rsync over ssh.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list