ssh nao conecta

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

ssh nao conecta

Igor Miranda-3
Senhores,

Alguem ja pegou um erro bizarro no qual o ssh nao conecta em um host que esta em uma vpn ipsec? Se eu uso o putty ele vai, mais quando vou na console e digito ssh ele da timeout

--
====================
Igor Miranda
São Paulo/SP
====================
Reply | Threaded
Open this post in threaded view
|

Re: ssh nao conecta

Michel Boaventura
Se você usa um -vvv ele não fala nada de útil?

Em 13 de maio de 2014 15:58, Igor Miranda <[hidden email]> escreveu:

> Senhores,
>
> Alguem ja pegou um erro bizarro no qual o ssh nao conecta em um host que
> esta em uma vpn ipsec? Se eu uso o putty ele vai, mais quando vou na console
> e digito ssh ele da timeout
>
> --
> ====================
> Igor Miranda
> São Paulo/SP
> ====================



--
Michel Almada de Castro Boaventura
Analista de Sistemas
Laboratório de Software Livre - LSL

Reply | Threaded
Open this post in threaded view
|

Re: ssh nao conecta

Igor Miranda-3
miranda@eWave ~ $ ssh -vvv [hidden email]
OpenSSH_6.6, OpenSSL 1.0.1g 7 Apr 2014
debug1: Reading configuration data /home/miranda/.ssh/config
debug1: /home/miranda/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.6.1.10 [10.6.1.10] port 22.
debug1: Connection established.
debug1: identity file /home/miranda/.ssh/identity type -1
debug1: identity file /home/miranda/.ssh/identity-cert type -1
debug1: identity file /home/miranda/.ssh/id_rsa type -1
debug1: identity file /home/miranda/.ssh/id_rsa-cert type -1
debug1: identity file /home/miranda/.ssh/id_dsa type -1
debug1: identity file /home/miranda/.ssh/id_dsa-cert type -1
debug1: identity file /home/miranda/.ssh/id_ecdsa type -1
debug1: identity file /home/miranda/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/miranda/.ssh/id_ed25519 type -1
debug1: identity file /home/miranda/.ssh/id_ed25519-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "10.6.1.10" from file "/home/miranda/.ssh/known_hosts"
debug3: load_hostkeys: loaded 0 keys
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: [hidden email],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[hidden email],[hidden email],[hidden email],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]                                                                                                                           
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[hidden email],[hidden email],[hidden email],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]                                                                                                                           
debug2: kex_parse_kexinit: [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],hmac-md5,hmac-sha1,[hidden email],[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96                                                                                                                                                  
debug2: kex_parse_kexinit: [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],hmac-md5,hmac-sha1,[hidden email],[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[hidden email],zlib
debug2: kex_parse_kexinit: none,[hidden email],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-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]
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,[hidden email]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[hidden email]
debug2: kex_parse_kexinit: none,[hidden email]
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: setup hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: setup hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
Connection closed by 10.6.1.10



2014-05-13 22:44 GMT-03:00 Michel Boaventura <[hidden email]>:
Se você usa um -vvv ele não fala nada de útil?

Em 13 de maio de 2014 15:58, Igor Miranda <[hidden email]> escreveu:
> Senhores,
>
> Alguem ja pegou um erro bizarro no qual o ssh nao conecta em um host que
> esta em uma vpn ipsec? Se eu uso o putty ele vai, mais quando vou na console
> e digito ssh ele da timeout
>
> --
> ====================
> Igor Miranda
> São Paulo/SP
> ====================



--
Michel Almada de Castro Boaventura
Analista de Sistemas
Laboratório de Software Livre - LSL




--
====================
Igor Miranda
São Paulo/SP
====================
Reply | Threaded
Open this post in threaded view
|

Re: ssh nao conecta

Michel Boaventura
Google ftw :)

http://superuser.com/questions/568891/ssh-works-in-putty-but-not-terminal

2014-05-14 9:16 GMT-03:00 Igor Miranda <[hidden email]>:

> miranda@eWave ~ $ ssh -vvv root@10.6.1.10
> OpenSSH_6.6, OpenSSL 1.0.1g 7 Apr 2014
> debug1: Reading configuration data /home/miranda/.ssh/config
> debug1: /home/miranda/.ssh/config line 1: Applying options for *
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 10.6.1.10 [10.6.1.10] port 22.
> debug1: Connection established.
> debug1: identity file /home/miranda/.ssh/identity type -1
> debug1: identity file /home/miranda/.ssh/identity-cert type -1
> debug1: identity file /home/miranda/.ssh/id_rsa type -1
> debug1: identity file /home/miranda/.ssh/id_rsa-cert type -1
> debug1: identity file /home/miranda/.ssh/id_dsa type -1
> debug1: identity file /home/miranda/.ssh/id_dsa-cert type -1
> debug1: identity file /home/miranda/.ssh/id_ecdsa type -1
> debug1: identity file /home/miranda/.ssh/id_ecdsa-cert type -1
> debug1: identity file /home/miranda/.ssh/id_ed25519 type -1
> debug1: identity file /home/miranda/.ssh/id_ed25519-cert type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
> debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_6.6
> debug2: fd 3 setting O_NONBLOCK
> debug3: load_hostkeys: loading entries for host "10.6.1.10" from file
> "/home/miranda/.ssh/known_hosts"
> debug3: load_hostkeys: loaded 0 keys
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug2: kex_parse_kexinit:
> [hidden email],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit:
> [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[hidden email],[hidden email],[hidden email],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[hidden email],[hidden email],[hidden email],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]
> debug2: kex_parse_kexinit:
> [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],hmac-md5,hmac-sha1,[hidden email],[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],hmac-md5,hmac-sha1,[hidden email],[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit: none,[hidden email],zlib
> debug2: kex_parse_kexinit: none,[hidden email],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-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]
> 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,[hidden email]
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit: none,[hidden email]
> debug2: kex_parse_kexinit: none,[hidden email]
> 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: setup hmac-md5
> debug1: kex: server->client aes128-ctr hmac-md5 none
> debug2: mac_setup: setup hmac-md5
> debug1: kex: client->server aes128-ctr hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> Connection closed by 10.6.1.10
>
>
>
> 2014-05-13 22:44 GMT-03:00 Michel Boaventura <[hidden email]>:
>
>> Se você usa um -vvv ele não fala nada de útil?
>>
>> Em 13 de maio de 2014 15:58, Igor Miranda <[hidden email]>
>> escreveu:
>> > Senhores,
>> >
>> > Alguem ja pegou um erro bizarro no qual o ssh nao conecta em um host que
>> > esta em uma vpn ipsec? Se eu uso o putty ele vai, mais quando vou na
>> > console
>> > e digito ssh ele da timeout
>> >
>> > --
>> > ====================
>> > Igor Miranda
>> > São Paulo/SP
>> > ====================
>>
>>
>>
>> --
>> Michel Almada de Castro Boaventura
>> Analista de Sistemas
>> Laboratório de Software Livre - LSL
>>
>
>
>
> --
> ====================
> Igor Miranda
> São Paulo/SP
> ====================



--
Michel Almada de Castro Boaventura
Analista de Sistemas
Laboratório de Software Livre - LSL

Reply | Threaded
Open this post in threaded view
|

Re: ssh nao conecta

Igor Miranda-3
Funcionou, muito obrigado pelo help!


On Wed, May 14, 2014 at 2:55 PM, Michel Boaventura <[hidden email]> wrote:
Google ftw :)

http://superuser.com/questions/568891/ssh-works-in-putty-but-not-terminal

2014-05-14 9:16 GMT-03:00 Igor Miranda <[hidden email]>:
> miranda@eWave ~ $ ssh -vvv [hidden email]
> OpenSSH_6.6, OpenSSL 1.0.1g 7 Apr 2014
> debug1: Reading configuration data /home/miranda/.ssh/config
> debug1: /home/miranda/.ssh/config line 1: Applying options for *
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 10.6.1.10 [10.6.1.10] port 22.
> debug1: Connection established.
> debug1: identity file /home/miranda/.ssh/identity type -1
> debug1: identity file /home/miranda/.ssh/identity-cert type -1
> debug1: identity file /home/miranda/.ssh/id_rsa type -1
> debug1: identity file /home/miranda/.ssh/id_rsa-cert type -1
> debug1: identity file /home/miranda/.ssh/id_dsa type -1
> debug1: identity file /home/miranda/.ssh/id_dsa-cert type -1
> debug1: identity file /home/miranda/.ssh/id_ecdsa type -1
> debug1: identity file /home/miranda/.ssh/id_ecdsa-cert type -1
> debug1: identity file /home/miranda/.ssh/id_ed25519 type -1
> debug1: identity file /home/miranda/.ssh/id_ed25519-cert type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
> debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_6.6
> debug2: fd 3 setting O_NONBLOCK
> debug3: load_hostkeys: loading entries for host "10.6.1.10" from file
> "/home/miranda/.ssh/known_hosts"
> debug3: load_hostkeys: loaded 0 keys
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug2: kex_parse_kexinit:
> [hidden email],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit:
> [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[hidden email],[hidden email],[hidden email],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[hidden email],[hidden email],[hidden email],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]
> debug2: kex_parse_kexinit:
> [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],hmac-md5,hmac-sha1,[hidden email],[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> [hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],[hidden email],hmac-md5,hmac-sha1,[hidden email],[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit: none,[hidden email],zlib
> debug2: kex_parse_kexinit: none,[hidden email],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-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[hidden email]
> 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,[hidden email]
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,[hidden email],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[hidden email],hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit: none,[hidden email]
> debug2: kex_parse_kexinit: none,[hidden email]
> 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: setup hmac-md5
> debug1: kex: server->client aes128-ctr hmac-md5 none
> debug2: mac_setup: setup hmac-md5
> debug1: kex: client->server aes128-ctr hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> Connection closed by 10.6.1.10
>
>
>
> 2014-05-13 22:44 GMT-03:00 Michel Boaventura <[hidden email]>:
>
>> Se você usa um -vvv ele não fala nada de útil?
>>
>> Em 13 de maio de 2014 15:58, Igor Miranda <[hidden email]>
>> escreveu:
>> > Senhores,
>> >
>> > Alguem ja pegou um erro bizarro no qual o ssh nao conecta em um host que
>> > esta em uma vpn ipsec? Se eu uso o putty ele vai, mais quando vou na
>> > console
>> > e digito ssh ele da timeout
>> >
>> > --
>> > ====================
>> > Igor Miranda
>> > São Paulo/SP
>> > ====================
>>
>>
>>
>> --
>> Michel Almada de Castro Boaventura
>> Analista de Sistemas
>> Laboratório de Software Livre - LSL
>>
>
>
>
> --
> ====================
> Igor Miranda
> São Paulo/SP
> ====================



--
Michel Almada de Castro Boaventura
Analista de Sistemas
Laboratório de Software Livre - LSL




--
====================
Igor Miranda
São Paulo/SP
====================