Advertisement
Guest User

Untitled

a guest
Apr 19th, 2017
973
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.96 KB | None | 0 0
  1. tim@tim-UX31A:~$ cat ~/.ssh/config
  2. User root
  3. PasswordAuthentication no
  4. IdentityFile ~/.ssh/id_rsa
  5.  
  6. tim@tim-UX31A:~$ ls -l ~/.ssh/id_rsa*
  7. -rw------- 1 tim tim 3326 Okt 20 17:28 /home/tim/.ssh/id_rsa
  8. -rw-r--r-- 1 tim tim 746 Okt 20 17:28 /home/tim/.ssh/id_rsa.pub
  9.  
  10. tim@tim-UX31A:~$ ssh -vvv root@10.0.12.28
  11. OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016
  12. debug1: Reading configuration data /home/tim/.ssh/config
  13. debug1: Reading configuration data /etc/ssh/ssh_config
  14. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  15. debug2: resolving "10.0.12.28" port 22
  16. debug2: ssh_connect_direct: needpriv 0
  17. debug1: Connecting to 10.0.12.28 [10.0.12.28] port 22.
  18. debug1: Connection established.
  19. debug1: identity file /home/tim/.ssh/id_rsa type 1
  20. debug1: key_load_public: No such file or directory
  21. debug1: identity file /home/tim/.ssh/id_rsa-cert type -1
  22. debug1: Enabling compatibility mode for protocol 2.0
  23. debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
  24. debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
  25. debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
  26. debug2: fd 3 setting O_NONBLOCK
  27. debug1: Authenticating to 10.0.12.28:22 as 'root'
  28. debug3: hostkeys_foreach: reading file "/home/tim/.ssh/known_hosts"
  29. debug3: record_hostkey: found key type ECDSA in file /home/tim/.ssh/known_hosts:3
  30. debug3: load_hostkeys: loaded 1 keys from 10.0.12.28
  31. 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
  32. debug3: send packet: type 20
  33. debug1: SSH2_MSG_KEXINIT sent
  34. debug3: receive packet: type 20
  35. debug1: SSH2_MSG_KEXINIT received
  36. debug2: local client KEXINIT proposal
  37. debug2: KEX algorithms: curve25519-sha256@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,ext-info-c
  38. 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
  39. 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,3des-cbc
  40. 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,3des-cbc
  41. 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
  42. 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
  43. debug2: compression ctos: none,zlib@openssh.com,zlib
  44. debug2: compression stoc: none,zlib@openssh.com,zlib
  45. debug2: languages ctos:
  46. debug2: languages stoc:
  47. debug2: first_kex_follows 0
  48. debug2: reserved 0
  49. debug2: peer server KEXINIT proposal
  50. debug2: KEX algorithms: curve25519-sha256@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
  51. debug2: host key algorithms: ssh-rsa,ecdsa-sha2-nistp256
  52. debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  53. debug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  54. debug2: MACs ctos: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  55. debug2: MACs stoc: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  56. debug2: compression ctos: none,zlib@openssh.com
  57. debug2: compression stoc: none,zlib@openssh.com
  58. debug2: languages ctos:
  59. debug2: languages stoc:
  60. debug2: first_kex_follows 0
  61. debug2: reserved 0
  62. debug1: kex: algorithm: curve25519-sha256@libssh.org
  63. debug1: kex: host key algorithm: ecdsa-sha2-nistp256
  64. debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  65. debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  66. debug3: send packet: type 30
  67. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  68. debug3: receive packet: type 31
  69. debug1: Server host key:
  70. debug3: hostkeys_foreach: reading file "/home/tim/.ssh/known_hosts"
  71. debug3: record_hostkey: found key type ECDSA in file /home/tim/.ssh/known_hosts:3
  72. debug3: load_hostkeys: loaded 1 keys from 10.0.12.28
  73. debug1: Host '10.0.12.28' is known and matches the ECDSA host key.
  74. debug1: Found key in /home/tim/.ssh/known_hosts:3
  75. debug3: send packet: type 21
  76. debug2: set_newkeys: mode 1
  77. debug1: rekey after 134217728 blocks
  78. debug1: SSH2_MSG_NEWKEYS sent
  79. debug1: expecting SSH2_MSG_NEWKEYS
  80. debug3: receive packet: type 21
  81. debug2: set_newkeys: mode 0
  82. debug1: rekey after 134217728 blocks
  83. debug1: SSH2_MSG_NEWKEYS received
  84. debug2: key: /home/tim/.ssh/id_rsa (0x55ee619ab2b0), explicit, agent
  85. debug2: key: /home/tim/.ssh/id_rsa (0x55ee619bcfa0), agent
  86. debug2: key: tim@Tim-UX31A-Debian (0x55ee619b9370), agent
  87. debug3: send packet: type 5
  88. debug3: receive packet: type 6
  89. debug2: service_accept: ssh-userauth
  90. debug1: SSH2_MSG_SERVICE_ACCEPT received
  91. debug3: send packet: type 50
  92. debug3: receive packet: type 51
  93. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  94. debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
  95. debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive
  96. debug3: authmethod_lookup gssapi-keyex
  97. debug3: remaining preferred: gssapi-with-mic,publickey,keyboard-interactive
  98. debug3: authmethod_is_enabled gssapi-keyex
  99. debug1: Next authentication method: gssapi-keyex
  100. debug1: No valid Key exchange context
  101. debug2: we did not send a packet, disable method
  102. debug3: authmethod_lookup gssapi-with-mic
  103. debug3: remaining preferred: publickey,keyboard-interactive
  104. debug3: authmethod_is_enabled gssapi-with-mic
  105. debug1: Next authentication method: gssapi-with-mic
  106. debug1: Unspecified GSS failure. Minor code may provide more information
  107. No Kerberos credentials available
  108.  
  109. debug1: Unspecified GSS failure. Minor code may provide more information
  110. No Kerberos credentials available
  111.  
  112. debug1: Unspecified GSS failure. Minor code may provide more information
  113.  
  114.  
  115. debug1: Unspecified GSS failure. Minor code may provide more information
  116. No Kerberos credentials available
  117.  
  118. debug2: we did not send a packet, disable method
  119. debug3: authmethod_lookup publickey
  120. debug3: remaining preferred: keyboard-interactive
  121. debug3: authmethod_is_enabled publickey
  122. debug1: Next authentication method: publickey
  123. debug1: Offering RSA public key: /home/tim/.ssh/id_rsa
  124. debug3: send_pubkey_test
  125. debug3: send packet: type 50
  126. debug2: we sent a publickey packet, wait for reply
  127. debug3: receive packet: type 51
  128. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  129. debug1: Offering RSA public key: /home/tim/.ssh/id_rsa
  130. debug3: send_pubkey_test
  131. debug3: send packet: type 50
  132. debug2: we sent a publickey packet, wait for reply
  133. debug3: receive packet: type 51
  134. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  135. debug1: Offering RSA public key: tim@Tim-UX31A-Debian
  136. debug3: send_pubkey_test
  137. debug3: send packet: type 50
  138. debug2: we sent a publickey packet, wait for reply
  139. debug3: receive packet: type 51
  140. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  141. debug2: we did not send a packet, disable method
  142. debug1: No more authentication methods to try.
  143. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
  144.  
  145. sudo chown yourusername:yourusername /home/yourusername/ -R
  146. sudo chmod o-rwx /home/yourusername/ -R
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement