LQ Newbie
Registered: Oct 2003
Posts: 6
Rep:
|
ssh connection hang on SYN_RECV and FIN_WAIT1
I have a problem connecting to a fileserver with Mandrake 9.1.
The strange thing is that i'm able to connect to it only with my laptop, running Mandake 9.1, and i'm not able with all the others computers of the local network.
I'm particularly interested to connect from a server machine running Mandrake 8.1 with ssh package updated with the same version of the fileserver (OpenSSH_3.5p1).
What i get executing ssh -v fileserver_address is the following
[user@mail tmp]# ssh -vvv 192.168.0.2
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug3: cipher ok: aes128-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug3: cipher ok: 3des-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug3: cipher ok: blowfish-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug3: cipher ok: cast128-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug3: cipher ok: arcfour [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug3: cipher ok: aes192-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug3: cipher ok: aes256-cbc [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug3: ciphers ok: [aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc]
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.2 [192.168.0.2] port 22.
debug1: Connection established.
debug1: identity file /user/.ssh/identity type -1
debug1: identity file /user/.ssh/id_rsa type -1
debug3: Not a RSA1 key file /user/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: no key found
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: no key found
debug1: identity file /user/.ssh/id_dsa type 2
At this point the connection hang and doing netstat i get
tcp 0 1 host2:ssh host:2061 SYN_RECV
on the fileserver and
tcp 0 1 host:2061 host2:ssh FIN_WAIT1
in the other host.
Following there is ssh_config of the client host
ssh_config:
Host *
ForwardAgent no
ForwardX11 no
RhostsAuthentication no
RhostsRSAAuthentication no
RSAAuthentication yes
PasswordAuthentication yes
BatchMode no
CheckHostIP yes
StrictHostKeyChecking no
IdentityFile ~/.ssh/identity
IdentityFile ~/.ssh/id_rsa
IdentityFile ~/.ssh/id_dsa
Port 22
Protocol 2,1
Cipher blowfish
Cipher 3des
Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes25
EscapeChar ~
As you can notice above, the connection is estabilished but then it hangs when accessing private key. So I thinked it was a key problem so i tried to delete them (private and public) but it didn't work yet. I tried to recreate the keys and put new public key on the fileserver, but it didn't work.
I also uninstalled the openssh package on fileserver and reinstalled it, so now i'm using default configuration for ssd. Nothing to do. it doesn't work.
Have you any idea? I need to access the fileserver from remote station, but i don't always have my laptop with me.
Thank you,
outburst
|