ssh hangs up

Peter Stuge peter at stuge.se
Sat Sep 11 10:02:46 EST 2010


Zsolt Kovács wrote:
> I set a cron to connect to a a server in every 10 minutes.
> Sometimes it hangs up and I can not find why. (Once or twice a day)
..

> Log of a freezed connection:
..
> debug2: key_type_from_name: unknown key type '-----END'
> debug3: key_read: missing keytype
> debug1: identity file /home/cdr/.ssh/id_rsa type 1
> debug1: identity file /home/cdr/.ssh/id_dsa type -1

> Successful connection:
..
> debug2: key_type_from_name: unknown key type '-----END'
> debug3: key_read: missing keytype
> debug1: identity file /home/cdr/.ssh/id_rsa type 1
> debug1: identity file /home/cdr/.ssh/id_dsa type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 Debian-8.sarge.6

The failed connection does not receive a greeting from the remote
server. This is a problem on the server side. Maybe it is overloaded.

Oh, and you should update that server. 3.8.1p1 is very old.


//Peter


More information about the openssh-unix-dev mailing list