Archive for March 11th, 2011

Working around OpenSSH 5.8 connection failures

If you currently have connection problems using OpenSSH 5.8 towards older installations, with errors like:
Read from socket failed: Connection reset by peer
even before the client/server key exchange and authentication, try appending the option:
-o KexAlgorithms="diffie-hellman-group-exchange-sha1"

This worked for me in a couple of old server installations (namely, OpenSSH_5.3p1 Debian-3ubuntu5).

Alternatively, add the following
KexAlgorithms diffie-hellman-group-exchange-sha1
to .ssh/config. Remember that you can restrict this option to only some hosts by using the line:
Host "hostpattern"

Add comment March 11th, 2011


Rate:  

Calendar

March 2011
M T W T F S S
« Oct   May »
 123456
78910111213
14151617181920
21222324252627
28293031  

Badges

Posts by Month

Posts by Category

What's played in the cave