ssh 'connection reset by peer' problem since 5.8p1

Oren Held oren at held.org.il
Thu Feb 24 07:24:04 EST 2011


> > > 1. I confirm that above fix works for me also. Alternatively, as reported in
> > > Debian bug #612607, adding '-c aes128-ctr' to the ssh command line does the
> > > trick as well.
> > 
> > The '-c aes128-ctr' workaround also works for Cygwin OpenSSH 5.8p1 connection
> > issues. I tried using the '-c' option with the default list of ciphers from the
> > SSH man page and this once again caused the connection issue. I then tried
> > trimming down the list and this appeared to also fix the connection issue.
> > 
> > So could it be somehow related to this list of ciphers?
> 
> I've researched it a bit deeper. Surprisingly it's not a matter of which cipher to
> choose, but of *how long the list of ciphers is*. I'll explain:
> Doesn't work:
> -c 'aes128-ctr' and 94 commas (i.e. -c 'aes128-ctr,,,,,,,,,,,,,,,,,,' etc),
> Does work:
> -c 'aes128-ctr' and 95 commas

Just a correction, I meant the opposite:  the shorter string (94 in this case) DOES work,
longer string DOESN'T.



More information about the openssh-unix-dev mailing list