Sida 1 av 1

ssh svarar inte - Connection to 192.168.0.11 timed out while

Postat: 05 jul 2009, 11:45
av TicToc
Har just installerat om xubuntu till 9.04 på ps3an och nu vill inte ssh svara på externa anrop.
jag får från min laptop
Connection to 192.168.0.11 timed out while waiting to read
Jag kan utan problem från samma laptop koppla upp tilll 192.168.0.10 som är en qnap NAS.

När jag skriver ssh localhost alt ssh 192.168.0.11 lokalt på xubuntumaskinen går det bra.
Vi sitter inom samma lokala nätverk.

Re: ssh svarar inte - Connection to 192.168.0.11 timed out while

Postat: 05 jul 2009, 11:51
av andol
Pröva att köra ssh med paramatern -v för att få lite mer information kring vad som händer alt. inte händer. För än mer information kan du trappa upp till -vv såväl som -vvv.

Re: ssh svarar inte - Connection to 192.168.0.11 timed out while

Postat: 05 jul 2009, 12:11
av TicToc
Då blir det så här

Kod: Markera allt

$ ssh -vvv 192.168.0.11                                                   
OpenSSH_5.2p1-hpn13v5, OpenSSL 0.9.8k 25 Mar 2009                                            
debug1: Reading configuration data /etc/ssh/ssh_config                                       
debug2: ssh_connect: needpriv 0                                                              
debug1: Connecting to 192.168.0.11 [192.168.0.11] port 22.                                   
debug1: Connection established.                                                              
debug1: identity file /home/pata/.ssh/identity type -1                                       
debug1: identity file /home/pata/.ssh/id_rsa type -1                                         
debug1: identity file /home/pata/.ssh/id_dsa type -1                                         
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-5ubuntu1   
debug1: match: OpenSSH_5.1p1 Debian-5ubuntu1 pat OpenSSH*                                    
debug1: Remote is NON-HPN aware                                                              
debug1: Enabling compatibility mode for protocol 2.0                                         
debug1: Local version string SSH-2.0-OpenSSH_5.2p1-hpn13v5                                   
debug2: fd 3 setting O_NONBLOCK                                                              
debug1: SSH2_MSG_KEXINIT sent                                                                
debug1: SSH2_MSG_KEXINIT received                                                            
debug1: AUTH STATE IS 0                                                                      
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1                                     
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss                                                     
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se      
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se      
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96                                                          
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96                                                          
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib                                          
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib                                          
debug2: kex_parse_kexinit:                                                                     
debug2: kex_parse_kexinit:                                                                     
debug2: kex_parse_kexinit: first_kex_follows 0                                                 
debug2: kex_parse_kexinit: reserved 0                                                          
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1                                     
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss                                                     
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr      
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr      
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96                                                          
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96                                                          
debug2: kex_parse_kexinit: none,zlib@openssh.com                                               
debug2: kex_parse_kexinit: none,zlib@openssh.com                                               
debug2: kex_parse_kexinit:                                                                     
debug2: kex_parse_kexinit:                                                                     
debug2: kex_parse_kexinit: first_kex_follows 0                                                 
debug2: kex_parse_kexinit: reserved 0                                                          
debug2: mac_setup: found hmac-md5                                                              
debug1: REQUESTED ENC.NAME is 'aes128-ctr'                                                     
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: REQUESTED ENC.NAME is 'aes128-ctr'
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 120/256
debug2: bits set: 514/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /home/pata/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 2
debug1: Host '192.168.0.11' is known and matches the RSA host key.
debug1: Found key in /home/pata/.ssh/known_hosts:2
debug2: bits set: 501/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/pata/.ssh/identity ((nil))
debug2: key: /home/pata/.ssh/id_rsa ((nil))
debug2: key: /home/pata/.ssh/id_dsa ((nil))
Connection to 192.168.0.11 timed out while waiting to read

Re: ssh svarar inte - Connection to 192.168.0.11 timed out while

Postat: 05 jul 2009, 13:25
av TicToc
Upptäckte lite andra problem med xubuntuns nätverk. Efter att ha pillat med det kom jag in via ssh.
Tråden är ännu inte helt löst då det mesta hänger, löst.