Advertisement
Guest User

Untitled

a guest
Sep 11th, 2017
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. Directory of C:UsersREMOTEUSER.ssh
  2.  
  3. 09/11/2017 10:07 AM <DIR> .
  4. 09/11/2017 10:07 AM <DIR> ..
  5. 09/11/2017 10:07 AM 623 authorized_keys
  6. 09/11/2017 10:05 AM 672 id_dsa
  7. 09/11/2017 10:05 AM 623 id_dsa.pub
  8. 5 File(s) 4,012 bytes
  9. 2 Dir(s) 10,752,004,096 bytes free
  10.  
  11. C:UsersREMOTEUSER.ssh>icacls authorized_keys
  12. authorized_keys NT SERVICEsshd:(R)
  13. NT AUTHORITYSYSTEM:(F)
  14. BUILTINAdministrators:(F)
  15. FOODOM1REMOTEUSER:(F)
  16.  
  17.  
  18. C:UsersREMOTEUSER.ssh>icacls id_dsa
  19. id_dsa BUILTINAdministrators:(F)
  20. NT AUTHORITYSYSTEM:(F)
  21. DHDOM1REMOTEUSER:(R,W)
  22.  
  23. C:UsersREMOTEUSER.ssh>fc id_dsa.pub authorized_keys
  24. Comparing files id_dsa.pub and AUTHORIZED_KEYS
  25. FC: no differences encountered
  26.  
  27. PubkeyAuthentication yes
  28.  
  29. $ ssh -v -i .ssh/id_dsa myhostname
  30. OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
  31. debug1: Reading configuration data /home/localuser/.ssh/config
  32. debug1: /home/localuser/.ssh/config line 21: Applying options for raleys-etl
  33. debug1: Reading configuration data /etc/ssh/ssh_config
  34. debug1: /etc/ssh/ssh_config line 56: Applying options for *
  35. debug1: Hostname has changed; re-reading configuration
  36. debug1: Reading configuration data /home/localuser/.ssh/config
  37. debug1: /home/localuser/.ssh/config line 15: Applying options for remotehostname
  38. debug1: Reading configuration data /etc/ssh/ssh_config
  39. debug1: /etc/ssh/ssh_config line 56: Applying options for *
  40. debug1: Connecting to remotehostname [00:00:00:00] port 22.
  41. debug1: Connection established.
  42. debug1: identity file /home/localuser/.ssh/id_dsa type -1
  43. debug1: identity file /home/localuser/.ssh/id_dsa-cert type -1
  44. debug1: identity file /home/localuser/.ssh/ssis_rsa type -1
  45. debug1: identity file /home/localuser/.ssh/ssis_rsa-cert type -1
  46. debug1: Enabling compatibility mode for protocol 2.0
  47. debug1: Local version string SSH-2.0-OpenSSH_6.6.1
  48. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.5
  49. debug1: match: OpenSSH_7.5 pat OpenSSH* compat 0x04000000
  50. debug1: SSH2_MSG_KEXINIT sent
  51. debug1: SSH2_MSG_KEXINIT received
  52. debug1: kex: server->client aes128-ctr hmac-sha1-etm@openssh.com none
  53. debug1: kex: client->server aes128-ctr hmac-sha1-etm@openssh.com none
  54. debug1: kex: curve25519-sha256@libssh.org need=20 dh_need=20
  55. debug1: kex: curve25519-sha256@libssh.org need=20 dh_need=20
  56. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  57. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  58. debug1: Server host key: ECDSA e7:aa:c8:d4:8b:02:58:da:64:e6:18:26:d3:be:6a:b2
  59. debug1: Host 'remotehostname' is known and matches the ECDSA host key.
  60. debug1: Found key in /home/localuser/.ssh/known_hosts:5
  61. debug1: ssh_ecdsa_verify: signature correct
  62. debug1: SSH2_MSG_NEWKEYS sent
  63. debug1: expecting SSH2_MSG_NEWKEYS
  64. debug1: SSH2_MSG_NEWKEYS received
  65. debug1: SSH2_MSG_SERVICE_REQUEST sent
  66. debug1: SSH2_MSG_SERVICE_ACCEPT received
  67. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  68. debug1: Next authentication method: publickey
  69. debug1: Offering RSA public key: localuser@localhost.localdomain
  70. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  71. debug1: Offering RSA public key: localuser@localhost.localdomain
  72. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  73. debug1: Offering RSA public key: localuser@localhost.localdomain
  74. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  75. debug1: Trying private key: /home/localuser/.ssh/id_dsa
  76. debug1: key_parse_private2: missing begin marker
  77. debug1: read PEM private key done: type DSA
  78. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  79. debug1: Next authentication method: keyboard-interactive
  80. Received disconnect from 00:00:00:00: 2: Too many authentication failures
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement