You are not logged in.

#1 2008-10-23 23:11:14

Mr. X
Member
From: belgrade, serbia
Registered: 2007-02-28
Posts: 67

ssh timeout

I can't log in to my LAN computer from laptop...
it starts connecting but just hangs at some point... ctrl+c can't stop it either... and if I wait long enough it writes "connection timed out" error

here's the output:

# ssh -v -p 1003 alex@192.168.1.102
OpenSSH_5.1p1, OpenSSL 0.9.8i 15 Sep 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.1.102 [192.168.1.102] port 1003.
debug1: Connection established.
debug1: identity file /home/tmrc/.ssh/identity type -1
debug1: identity file /home/tmrc/.ssh/id_rsa type -1
debug1: identity file /home/tmrc/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '[192.168.1.102]:1003' is known and matches the RSA host key.
debug1: Found key in /home/tmrc/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/tmrc/.ssh/identity
debug1: Trying private key: /home/tmrc/.ssh/id_rsa
debug1: Trying private key: /home/tmrc/.ssh/id_dsa
debug1: Next authentication method: password
alex@192.168.1.102's password: 
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: channel 0: free: client-session, nchannels 1
Read from remote host 192.168.1.102: Connection timed out
Connection to 192.168.1.102 closed.
Transferred: sent 1632, received 1784 bytes, in 934.8 seconds
Bytes per second: sent 1.7, received 1.9
debug1: Exit status -1

everything worked fine yesterday, and I can't remember any changes I made except running pacman update on both computers...

Offline

#2 2008-10-27 04:19:57

dav7
Member
From: Australia
Registered: 2008-02-08
Posts: 674

Re: ssh timeout

Something's gone wrong with your networking configuration. I have this problem too sometimes on some computers; the session opens but the network fails and the data never gets through. Someone said it was a routing issue; I'm not exactly sure what.

Try connecting the other way.

-dav7


Windows was made for looking at success from a distance through a wall of oversimplicity. Linux removes the wall, so you can just walk up to success and make it your own.
--
Reinventing the wheel is fun. You get to redefine pi.

Offline

Board footer

Powered by FluxBB