Friday, 23 August 2013

ssh works but putty can't connect to port 22

ssh works but putty can't connect to port 22

I ran shutdown -r on a remote server and I lost my ssh connection with it.
System redhat 2.6.32.el6.i686, OpenSSH_5.3p1, OpenSSL 1.0.0-fips
I tried a few connection, ping works, telnet works, nc works but ssh not
work and connection by putty is impossible.
telnet 192.168.103.193 22
Trying 192.168.103.193...
Connected to 192.168.103.193.
Escape character is '^]'.
[admins@aaaa ~]# nc -v -w 1 ip_address -z 22
Connection to ip_address 22 port [tcp/ssh] succeeded!
[admins@aaaa ~]# ssh -vvv user@ip_address
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to ip_address [ip_address] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
^C
Anyone have some idea?

No comments:

Post a Comment