Guest User

ssh -v

a guest
Oct 29th, 2014
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.67 KB | None | 0 0
  1. Success:
  2.  
  3. bar@sun:~$ ssh [email protected] -vvv
  4. OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
  5. debug1: Reading configuration data /etc/ssh/ssh_config
  6. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  7. debug2: ssh_connect: needpriv 0
  8. debug1: Connecting to hyperion.internal [172.16.0.10] port 22.
  9. debug1: Connection established.
  10. debug3: Incorrect RSA1 identifier
  11. debug3: Could not load "/home/bar/.ssh/id_rsa" as a RSA1 public key
  12. debug1: identity file /home/bar/.ssh/id_rsa type 1
  13. debug1: identity file /home/bar/.ssh/id_rsa-cert type -1
  14. debug1: identity file /home/bar/.ssh/id_dsa type -1
  15. debug1: identity file /home/bar/.ssh/id_dsa-cert type -1
  16. debug1: identity file /home/bar/.ssh/id_ecdsa type -1
  17. debug1: identity file /home/bar/.ssh/id_ecdsa-cert type -1
  18. debug1: identity file /home/bar/.ssh/id_ed25519 type -1
  19. debug1: identity file /home/bar/.ssh/id_ed25519-cert type -1
  20. debug1: Enabling compatibility mode for protocol 2.0
  21. debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
  22. debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
  23. debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
  24. debug2: fd 3 setting O_NONBLOCK
  25. debug3: load_hostkeys: loading entries for host "hyperion.internal" from file "/home/bar/.ssh/known_hosts"
  26. debug3: load_hostkeys: found key type ECDSA in file /home/bar/.ssh/known_hosts:20
  27. debug3: load_hostkeys: loaded 1 keys
  28. debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
  29. debug1: SSH2_MSG_KEXINIT sent
  30. debug1: SSH2_MSG_KEXINIT received
  31. debug2: kex_parse_kexinit: [email protected],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
  32. debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ssh-rsa,ssh-dss
  33. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  34. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  35. debug2: kex_parse_kexinit: none,[email protected],zlib
  36. debug2: kex_parse_kexinit: none,[email protected],zlib
  37. debug2: kex_parse_kexinit:
  38. debug2: kex_parse_kexinit:
  39. debug2: kex_parse_kexinit: first_kex_follows 0
  40. debug2: kex_parse_kexinit: reserved 0
  41. debug2: kex_parse_kexinit: [email protected],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
  42. debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256
  43. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  44. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  45. debug2: kex_parse_kexinit: none,[email protected]
  46. debug2: kex_parse_kexinit: none,[email protected]
  47. debug2: kex_parse_kexinit:
  48. debug2: kex_parse_kexinit:
  49. debug2: kex_parse_kexinit: first_kex_follows 0
  50. debug2: kex_parse_kexinit: reserved 0
  51. debug2: mac_setup: setup [email protected]
  52. debug1: kex: server->client aes128-ctr [email protected] none
  53. debug2: mac_setup: setup [email protected]
  54. debug1: kex: client->server aes128-ctr [email protected] none
  55. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  56. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  57. debug1: Server host key: ECDSA 25:...
  58. debug3: load_hostkeys: loading entries for host "hyperion.internal" from file "/home/bar/.ssh/known_hosts"
  59. debug3: load_hostkeys: found key type ECDSA in file /home/bar/.ssh/known_hosts:20
  60. debug3: load_hostkeys: loaded 1 keys
  61. debug3: load_hostkeys: loading entries for host "172.16.0.10" from file "/home/bar/.ssh/known_hosts"
  62. debug3: load_hostkeys: found key type ECDSA in file /home/bar/.ssh/known_hosts:21
  63. debug3: load_hostkeys: loaded 1 keys
  64. debug1: Host 'hyperion.internal' is known and matches the ECDSA host key.
  65. debug1: Found key in /home/bar/.ssh/known_hosts:20
  66. debug1: ssh_ecdsa_verify: signature correct
  67. debug2: kex_derive_keys
  68. debug2: set_newkeys: mode 1
  69. debug1: SSH2_MSG_NEWKEYS sent
  70. debug1: expecting SSH2_MSG_NEWKEYS
  71. debug2: set_newkeys: mode 0
  72. debug1: SSH2_MSG_NEWKEYS received
  73. debug1: Roaming not allowed by server
  74. debug1: SSH2_MSG_SERVICE_REQUEST sent
  75. debug2: service_accept: ssh-userauth
  76. debug1: SSH2_MSG_SERVICE_ACCEPT received
  77. debug2: key: /home/bar/.ssh/id_rsa (0x7f..),
  78. debug2: key: /home/bar/.ssh/id_dsa ((nil)),
  79. debug2: key: /home/bar/.ssh/id_ecdsa ((nil)),
  80. debug2: key: /home/bar/.ssh/id_ed25519 ((nil)),
  81. debug1: Authentications that can continue: publickey,password
  82. debug3: start over, passed a different list publickey,password
  83. debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
  84. debug3: authmethod_lookup publickey
  85. debug3: remaining preferred: keyboard-interactive,password
  86. debug3: authmethod_is_enabled publickey
  87. debug1: Next authentication method: publickey
  88. debug1: Offering RSA public key: /home/bar/.ssh/id_rsa
  89. debug3: send_pubkey_test
  90. debug2: we sent a publickey packet, wait for reply
  91. debug1: Server accepts key: pkalg ssh-rsa blen 279
  92. debug2: input_userauth_pk_ok: fp 95:...
  93. debug3: sign_and_send_pubkey: RSA 95:...
  94. debug1: key_parse_private2: missing begin marker
  95. debug1: read PEM private key done: type RSA
  96. debug1: Authentication succeeded (publickey).
  97. Authenticated to hyperion.internal ([172.16.0.10]:22).
  98. ...
  99.  
  100.  
  101. Failure:
  102.  
  103. bar@sun:~$ ssh [email protected] -vvv
  104. OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
  105. debug1: Reading configuration data /etc/ssh/ssh_config
  106. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  107. debug2: ssh_connect: needpriv 0
  108. debug1: Connecting to hyperion.internal [172.16.0.10] port 22.
  109. debug1: Connection established.
  110. debug3: Incorrect RSA1 identifier
  111. debug3: Could not load "/home/bar/.ssh/id_rsa" as a RSA1 public key
  112. debug1: identity file /home/bar/.ssh/id_rsa type 1
  113. debug1: identity file /home/bar/.ssh/id_rsa-cert type -1
  114. debug1: identity file /home/bar/.ssh/id_dsa type -1
  115. debug1: identity file /home/bar/.ssh/id_dsa-cert type -1
  116. debug1: identity file /home/bar/.ssh/id_ecdsa type -1
  117. debug1: identity file /home/bar/.ssh/id_ecdsa-cert type -1
  118. debug1: identity file /home/bar/.ssh/id_ed25519 type -1
  119. debug1: identity file /home/bar/.ssh/id_ed25519-cert type -1
  120. debug1: Enabling compatibility mode for protocol 2.0
  121. debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
  122. debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
  123. debug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2 pat OpenSSH_6.6.1* compat 0x04000000
  124. debug2: fd 3 setting O_NONBLOCK
  125. debug3: load_hostkeys: loading entries for host "hyperion.internal" from file "/home/bar/.ssh/known_hosts"
  126. debug3: load_hostkeys: found key type ECDSA in file /home/bar/.ssh/known_hosts:20
  127. debug3: load_hostkeys: loaded 1 keys
  128. debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
  129. debug1: SSH2_MSG_KEXINIT sent
  130. debug1: SSH2_MSG_KEXINIT received
  131. debug2: kex_parse_kexinit: [email protected],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
  132. debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ssh-rsa,ssh-dss
  133. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  134. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  135. debug2: kex_parse_kexinit: none,[email protected],zlib
  136. debug2: kex_parse_kexinit: none,[email protected],zlib
  137. debug2: kex_parse_kexinit:
  138. debug2: kex_parse_kexinit:
  139. debug2: kex_parse_kexinit: first_kex_follows 0
  140. debug2: kex_parse_kexinit: reserved 0
  141. debug2: kex_parse_kexinit: [email protected],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
  142. debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256
  143. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  144. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  145. debug2: kex_parse_kexinit: none,[email protected]
  146. debug2: kex_parse_kexinit: none,[email protected]
  147. debug2: kex_parse_kexinit:
  148. debug2: kex_parse_kexinit:
  149. debug2: kex_parse_kexinit: first_kex_follows 0
  150. debug2: kex_parse_kexinit: reserved 0
  151. debug2: mac_setup: setup [email protected]
  152. debug1: kex: server->client aes128-ctr [email protected] none
  153. debug2: mac_setup: setup [email protected]
  154. debug1: kex: client->server aes128-ctr [email protected] none
  155. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  156. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  157. debug1: Server host key: ECDSA 25:...
  158. debug3: load_hostkeys: loading entries for host "hyperion.internal" from file "/home/bar/.ssh/known_hosts"
  159. debug3: load_hostkeys: found key type ECDSA in file /home/bar/.ssh/known_hosts:20
  160. debug3: load_hostkeys: loaded 1 keys
  161. debug3: load_hostkeys: loading entries for host "172.16.0.10" from file "/home/bar/.ssh/known_hosts"
  162. debug3: load_hostkeys: found key type ECDSA in file /home/bar/.ssh/known_hosts:21
  163. debug3: load_hostkeys: loaded 1 keys
  164. debug1: Host 'hyperion.internal' is known and matches the ECDSA host key.
  165. debug1: Found key in /home/bar/.ssh/known_hosts:20
  166. debug1: ssh_ecdsa_verify: signature correct
  167. debug2: kex_derive_keys
  168. debug2: set_newkeys: mode 1
  169. debug1: SSH2_MSG_NEWKEYS sent
  170. debug1: expecting SSH2_MSG_NEWKEYS
  171. debug2: set_newkeys: mode 0
  172. debug1: SSH2_MSG_NEWKEYS received
  173. debug1: Roaming not allowed by server
  174. debug1: SSH2_MSG_SERVICE_REQUEST sent
  175. debug2: service_accept: ssh-userauth
  176. debug1: SSH2_MSG_SERVICE_ACCEPT received
  177. debug2: key: /home/bar/.ssh/id_rsa (0x7f..),
  178. debug2: key: /home/bar/.ssh/id_dsa ((nil)),
  179. debug2: key: /home/bar/.ssh/id_ecdsa ((nil)),
  180. debug2: key: /home/bar/.ssh/id_ed25519 ((nil)),
  181. debug1: Authentications that can continue: publickey,password
  182. debug3: start over, passed a different list publickey,password
  183. debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
  184. debug3: authmethod_lookup publickey
  185. debug3: remaining preferred: keyboard-interactive,password
  186. debug3: authmethod_is_enabled publickey
  187. debug1: Next authentication method: publickey
  188. debug1: Offering RSA public key: /home/bar/.ssh/id_rsa
  189. debug3: send_pubkey_test
  190. debug2: we sent a publickey packet, wait for reply
  191. debug1: Authentications that can continue: publickey,password
  192. debug1: Trying private key: /home/bar/.ssh/id_dsa
  193. debug3: no such identity: /home/bar/.ssh/id_dsa: No such file or directory
  194. debug1: Trying private key: /home/bar/.ssh/id_ecdsa
  195. debug3: no such identity: /home/bar/.ssh/id_ecdsa: No such file or directory
  196. debug1: Trying private key: /home/bar/.ssh/id_ed25519
  197. debug3: no such identity: /home/bar/.ssh/id_ed25519: No such file or directory
  198. debug2: we did not send a packet, disable method
  199. debug3: authmethod_lookup password
  200. debug3: remaining preferred: ,password
  201. debug3: authmethod_is_enabled password
  202. debug1: Next authentication method: password
  203. ...
Advertisement
Add Comment
Please, Sign In to add comment