Il 04/15/2014 11:13 PM, Henrik Carlqvist ha scritto:
All right, I'm here.
> ssh -vvv -l admin 172.31.6.251
I've tried and this is the output:
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: ciphers ok:
[aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc]
debug3: macs ok: [hmac-md5,hmac-sha1,
uma...@openssh.com,hmac-ripemd160]
debug2: ssh_connect: needpriv 0
debug1: Connecting to 172.31.6.251 [172.31.6.251] port 22.
debug1: Connection established.
debug1: identity file /home/rizio/.ssh/identity type -1
debug1: identity file /home/rizio/.ssh/identity-cert type -1
debug1: identity file /home/rizio/.ssh/id_rsa type -1
debug1: identity file /home/rizio/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/rizio/.ssh/id_dsa" as a RSA1 public key
debug1: identity file /home/rizio/.ssh/id_dsa type -1
debug1: identity file /home/rizio/.ssh/id_dsa-cert type -1
debug1: identity file /home/rizio/.ssh/id_ecdsa type -1
debug1: identity file /home/rizio/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/rizio/.ssh/id_ed25519 type -1
debug1: identity file /home/rizio/.ssh/id_ed25519-cert type -1
debug1: Remote protocol version 2.0, remote software version Cisco-1.25
debug1: no match: Cisco-1.25
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 "172.31.6.251" from file
"/home/rizio/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /home/rizio/.ssh/known_hosts:10
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs:
ssh-rsa-...@openssh.com,
ssh-rsa-...@openssh.com,ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
curve255...@libssh.org,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:
ssh-rsa-...@openssh.com,
ssh-rsa-...@openssh.com,ssh-rsa,
ecdsa-sha2-nis...@openssh.com,
ecdsa-sha2-nis...@openssh.com,
ecdsa-sha2-nis...@openssh.com,
ssh-ed2551...@openssh.com,
ssh-dss-...@openssh.com,
ssh-dss-...@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,
uma...@openssh.com,hmac-ripemd160
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,
uma...@openssh.com,hmac-ripemd160
debug2: kex_parse_kexinit: none,
zl...@openssh.com,zlib
debug2: kex_parse_kexinit: none,
zl...@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-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
debug2: kex_parse_kexinit: hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
debug2: kex_parse_kexinit: none
debug2: kex_parse_kexinit: none
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-cbc hmac-md5 none
debug2: mac_setup: setup hmac-md5
debug1: kex: client->server aes128-cbc 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 172.31.6.251
With the last words "expecting SSH2_MSG_KEX_DH_GEX_GROUP" I've found this link
that seem to has the same problem but their solution not work for me.
http://superuser.com/questions/568891/ssh-works-in-putty-but-not-terminal
What's happen? I dont' understand, can you explain me?