Advertisement
mittfh

SSH Problems

Nov 23rd, 2018
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.22 KB | None | 0 0
  1. [ben@BlackBox .ssh ]$ ssh -p 9922 -vvv ben@192.168.1.42
  2. OpenSSH_7.9p1, OpenSSL 1.1.1 11 Sep 2018
  3. debug1: Reading configuration data /etc/ssh/ssh_config
  4. debug2: resolve_canonicalize: hostname 192.168.1.42 is address
  5. debug2: ssh_connect_direct
  6. debug1: Connecting to 192.168.1.42 [192.168.1.42] port 9922.
  7. debug1: Connection established.
  8. debug1: identity file /home/ben/.ssh/id_rsa type 0
  9. debug1: identity file /home/ben/.ssh/id_rsa-cert type -1
  10. debug1: identity file /home/ben/.ssh/id_dsa type -1
  11. debug1: identity file /home/ben/.ssh/id_dsa-cert type -1
  12. debug1: identity file /home/ben/.ssh/id_ecdsa type -1
  13. debug1: identity file /home/ben/.ssh/id_ecdsa-cert type -1
  14. debug1: identity file /home/ben/.ssh/id_ed25519 type 3
  15. debug1: identity file /home/ben/.ssh/id_ed25519-cert type -1
  16. debug1: identity file /home/ben/.ssh/id_xmss type -1
  17. debug1: identity file /home/ben/.ssh/id_xmss-cert type -1
  18. debug1: Local version string SSH-2.0-OpenSSH_7.9
  19. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9
  20. debug1: match: OpenSSH_7.9 pat OpenSSH* compat 0x04000000
  21. debug2: fd 5 setting O_NONBLOCK
  22. debug1: Authenticating to 192.168.1.42:9922 as 'ben'
  23. debug3: put_host_port: [192.168.1.42]:9922
  24. debug3: hostkeys_foreach: reading file "/home/ben/.ssh/known_hosts"
  25. debug3: record_hostkey: found key type ECDSA in file /home/ben/.ssh/known_hosts:3
  26. debug3: load_hostkeys: loaded 1 keys from [192.168.1.42]:9922
  27. debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
  28. debug3: send packet: type 20
  29. debug1: SSH2_MSG_KEXINIT sent
  30. debug3: receive packet: type 20
  31. debug1: SSH2_MSG_KEXINIT received
  32. debug2: local client KEXINIT proposal
  33. debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c
  34. debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
  35. debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  36. debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  37. debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  38. debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  39. debug2: compression ctos: none,zlib@openssh.com,zlib
  40. debug2: compression stoc: none,zlib@openssh.com,zlib
  41. debug2: languages ctos:
  42. debug2: languages stoc:
  43. debug2: first_kex_follows 0
  44. debug2: reserved 0
  45. debug2: peer server KEXINIT proposal
  46. debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1
  47. debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
  48. debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  49. debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  50. debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  51. debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  52. debug2: compression ctos: none,zlib@openssh.com
  53. debug2: compression stoc: none,zlib@openssh.com
  54. debug2: languages ctos:
  55. debug2: languages stoc:
  56. debug2: first_kex_follows 0
  57. debug2: reserved 0
  58. debug1: kex: algorithm: curve25519-sha256
  59. debug1: kex: host key algorithm: ecdsa-sha2-nistp256
  60. debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  61. debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  62. debug3: send packet: type 30
  63. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  64. debug3: receive packet: type 31
  65. debug1: Server host key: ecdsa-sha2-nistp256 SHA256:[REDACTED]
  66. debug3: put_host_port: [192.168.1.42]:9922
  67. debug3: put_host_port: [192.168.1.42]:9922
  68. debug3: hostkeys_foreach: reading file "/home/ben/.ssh/known_hosts"
  69. debug3: record_hostkey: found key type ECDSA in file /home/ben/.ssh/known_hosts:3
  70. debug3: load_hostkeys: loaded 1 keys from [192.168.1.42]:9922
  71. debug3: hostkeys_foreach: reading file "/home/ben/.ssh/known_hosts"
  72. debug3: record_hostkey: found key type ECDSA in file /home/ben/.ssh/known_hosts:3
  73. debug3: load_hostkeys: loaded 1 keys from [192.168.1.42]:9922
  74. debug1: Host '[192.168.1.42]:9922' is known and matches the ECDSA host key.
  75. debug1: Found key in /home/ben/.ssh/known_hosts:3
  76. debug3: send packet: type 21
  77. debug2: set_newkeys: mode 1
  78. debug1: rekey after 134217728 blocks
  79. debug1: SSH2_MSG_NEWKEYS sent
  80. debug1: expecting SSH2_MSG_NEWKEYS
  81. debug3: receive packet: type 21
  82. debug1: SSH2_MSG_NEWKEYS received
  83. debug2: set_newkeys: mode 0
  84. debug1: rekey after 134217728 blocks
  85. debug1: Will attempt key: /home/ben/.ssh/id_ed25519 ED25519 SHA256:[REDACTED] agent
  86. debug1: Will attempt key: /home/ben/.ssh/id_rsa RSA SHA256:[REDACTED] agent
  87. debug1: Will attempt key: /home/ben/.ssh/id_dsa
  88. debug1: Will attempt key: /home/ben/.ssh/id_ecdsa
  89. debug1: Will attempt key: /home/ben/.ssh/id_xmss
  90. debug2: pubkey_prepare: done
  91. debug3: send packet: type 5
  92. debug3: receive packet: type 7
  93. debug1: SSH2_MSG_EXT_INFO received
  94. debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
  95. debug3: receive packet: type 6
  96. debug2: service_accept: ssh-userauth
  97. debug1: SSH2_MSG_SERVICE_ACCEPT received
  98. debug3: send packet: type 50
  99. debug3: receive packet: type 51
  100. debug1: Authentications that can continue: publickey
  101. debug3: start over, passed a different list publickey
  102. debug3: preferred publickey,keyboard-interactive,password
  103. debug3: authmethod_lookup publickey
  104. debug3: remaining preferred: keyboard-interactive,password
  105. debug3: authmethod_is_enabled publickey
  106. debug1: Next authentication method: publickey
  107. debug1: Offering public key: /home/ben/.ssh/id_ed25519 ED25519 SHA256:[REDACTED] agent
  108. debug3: send packet: type 50
  109. debug2: we sent a publickey packet, wait for reply
  110. debug3: receive packet: type 51
  111. debug1: Authentications that can continue: publickey
  112. debug1: Offering public key: /home/ben/.ssh/id_rsa RSA SHA256:[REDACTED] agent
  113. debug3: send packet: type 50
  114. debug2: we sent a publickey packet, wait for reply
  115. debug3: receive packet: type 51
  116. debug1: Authentications that can continue: publickey
  117. debug1: Trying private key: /home/ben/.ssh/id_dsa
  118. debug3: no such identity: /home/ben/.ssh/id_dsa: No such file or directory
  119. debug1: Trying private key: /home/ben/.ssh/id_ecdsa
  120. debug3: no such identity: /home/ben/.ssh/id_ecdsa: No such file or directory
  121. debug1: Trying private key: /home/ben/.ssh/id_xmss
  122. debug3: no such identity: /home/ben/.ssh/id_xmss: No such file or directory
  123. debug2: we did not send a packet, disable method
  124. debug1: No more authentication methods to try.
  125. ben@192.168.1.42: Permission denied (publickey).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement