Alex, You're missing "debug1: Authentication succeeded (publickey)." The absence of this line suggests it's not a network problem, neither is it likely an SSH client/server problem. Your SSH connection likely is inherently failing from something wrong with your key files; and that, very much so, is SSH working as expected. Did you recently edit your public key? Check the timestap. You may have inadvertently clobbered the file w/ line breaks, a noeol issue.
Regards, Perry B. Whelan -----Original Message----- From: listbou...@securityfocus.com [mailto:listbou...@securityfocus.com] On Behalf Of Alex John Sent: Wednesday, February 02, 2011 7:21 AM To: secureshell@securityfocus.com Subject: Weird SSH issue. Hello, I'm having trouble connecting to any server outside my local network since like a week. I could do it without any problems before that. Here's the log #2.6.35-22-generic x86_64 GNU/Linux OpenSSH_5.5p1, OpenSSL 0.9.8o 01 Jun 2010 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to x.x.x.x [x.x.x.x] Port yy. debug1: Connection established. debug3: Not a RSA1 key file /home/alex/.ssh/id_rsa. 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/alex/.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/alex/.ssh/id_rsa-cert type -1 debug1: identity file /home/alex/.ssh/id_dsa type -1 debug1: identity file /home/alex/.ssh/id_dsa-cert type -1 #after this it hangs so I've to terminate it. Since SSH just hangs and doesn't terminate with an error message I don't know where to continue from. I'm under a firewall (possibly a blacklist) but I am confused here again because I can telnet to the server. Any ideas? Thanks Alex