I am getting this error "ssh_exchange_identification:"

Posted by adnan kamili on Super User See other posts from Super User or by adnan kamili
Published on 2012-04-04T16:04:48Z Indexed on 2012/04/12 23:34 UTC
Read the original article Hit count: 406

Filed under:

Every thing was working fine till yesterday and now suddenly I am getting this error if I type

ssh -D 9999 [email protected]
ssh_exchange_identification: Connection closed by remote host

Here is the output:

OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 172.16.30.30 [172.16.30.30] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/adnan/.ssh/id_rsa" as a RSA1 public key
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'Proc-Type:'
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type 'DEK-Info:'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/adnan/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/adnan/.ssh/id_rsa-cert type -1
debug1: identity file /home/adnan/.ssh/id_dsa type -1
debug1: identity file /home/adnan/.ssh/id_dsa-cert type -1
debug1: identity file /home/adnan/.ssh/id_ecdsa type -1
debug1: identity file /home/adnan/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: Connection closed by remote host

© Super User or respective owner

Related posts about ssh