someinternetuser

SSH cannot into key file

Mar 9th, 2019
281
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\USER>ssh -vvi C:\Users\USER\.ssh\id_rsa USER@SERVER
  2. OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
  3. debug2: resolving "srv-test" port 22
  4. debug2: ssh_connect_direct: needpriv 0
  5. debug1: Connecting to srv-test [109.233.226.2] port 22.
  6. debug1: Connection established.
  7. debug1: identity file C:\\Users\\USER\\.ssh\\id_rsa type 0
  8. debug1: key_load_public: No such file or directory
  9. debug1: identity file C:\\Users\\USER\\.ssh\\id_rsa-cert type -1
  10. debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.7
  11. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
  12. debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
  13. debug2: fd 3 setting O_NONBLOCK
  14. debug1: Authenticating to srv-test:22 as 'user'
  15. debug1: SSH2_MSG_KEXINIT sent
  16. debug1: SSH2_MSG_KEXINIT received
  17. debug2: local client KEXINIT proposal
  18. 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-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c
  19. 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,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
  20. debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  21. debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  22. 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
  23. 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
  24. debug2: compression ctos: none
  25. debug2: compression stoc: none
  26. debug2: languages ctos:
  27. debug2: languages stoc:
  28. debug2: first_kex_follows 0
  29. debug2: reserved 0
  30. debug2: peer server KEXINIT proposal
  31. 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-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
  32. debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
  33. debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
  34. debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
  35. 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
  36. 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
  37. debug2: compression ctos: none,zlib@openssh.com
  38. debug2: compression stoc: none,zlib@openssh.com
  39. debug2: languages ctos:
  40. debug2: languages stoc:
  41. debug2: first_kex_follows 0
  42. debug2: reserved 0
  43. debug1: kex: algorithm: curve25519-sha256
  44. debug1: kex: host key algorithm: ecdsa-sha2-nistp256
  45. debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  46. debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  47. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  48. debug1: Server host key: ecdsa-sha2-nistp256 SHA256:3kq54PvFa8J3Go40B0mzVKoh0ayOF1BU1nEtMmzzjX8
  49. debug1: Host 'srv-test' is known and matches the ECDSA host key.
  50. debug1: Found key in C:\\Users\\USER/.ssh/known_hosts:6
  51. debug2: set_newkeys: mode 1
  52. debug1: rekey after 134217728 blocks
  53. debug1: SSH2_MSG_NEWKEYS sent
  54. debug1: expecting SSH2_MSG_NEWKEYS
  55. debug1: SSH2_MSG_NEWKEYS received
  56. debug2: set_newkeys: mode 0
  57. debug1: rekey after 134217728 blocks
  58. debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory
  59. debug2: key: C:\\Users\\USER\\.ssh\\id_rsa (00000AC876C9E3C0), explicit
  60. debug1: SSH2_MSG_EXT_INFO received
  61. debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
  62. debug2: service_accept: ssh-userauth
  63. debug1: SSH2_MSG_SERVICE_ACCEPT received
  64. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  65. debug1: Next authentication method: publickey
  66. debug1: Offering public key: RSA SHA256:QosAzEmjK2Iv8v2bREsKSfQzxJT/1BjR0LZ7q12EHnk C:\\Users\\USER\\.ssh\\id_rsa
  67. debug2: we sent a publickey packet, wait for reply
  68. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  69. debug2: we did not send a packet, disable method
  70. debug1: Next authentication method: password
  71. debug1: read_passphrase: can't open /dev/tty: No such file or directory
  72. user@srv-test's password:
RAW Paste Data