Guest User

Untitled

a guest
Jan 3rd, 2018
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.92 KB | None | 0 0
  1. sftp -vvv -P 22 [email protected]
  2.  
  3. OpenSSH_7.5p1, LibreSSL 2.5.4
  4. debug1: Reading configuration data /etc/ssh/ssh_config
  5. debug1: /etc/ssh/ssh_config line 52: Applying options for *
  6. debug2: resolving "34.xx.xx.xx" port 22
  7. debug2: ssh_connect_direct: needpriv 0
  8. debug1: Connecting to 34.xx.xx.xx [34.xx.xx.xx] port 22.
  9. debug1: Connection established.
  10. debug1: identity file /Users/mikeghen/.ssh/id_rsa type 1
  11. debug1: key_load_public: No such file or directory
  12. debug1: identity file /Users/mikeghen/.ssh/id_rsa-cert type -1
  13. debug1: key_load_public: No such file or directory
  14. debug1: identity file /Users/mikeghen/.ssh/id_dsa type -1
  15. debug1: key_load_public: No such file or directory
  16. debug1: identity file /Users/mikeghen/.ssh/id_dsa-cert type -1
  17. debug1: key_load_public: No such file or directory
  18. debug1: identity file /Users/mikeghen/.ssh/id_ecdsa type -1
  19. debug1: key_load_public: No such file or directory
  20. debug1: identity file /Users/mikeghen/.ssh/id_ecdsa-cert type -1
  21. debug1: key_load_public: No such file or directory
  22. debug1: identity file /Users/mikeghen/.ssh/id_ed25519 type -1
  23. debug1: key_load_public: No such file or directory
  24. debug1: identity file /Users/mikeghen/.ssh/id_ed25519-cert type -1
  25. debug1: Enabling compatibility mode for protocol 2.0
  26. debug1: Local version string SSH-2.0-OpenSSH_7.5
  27. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.3
  28. debug1: match: OpenSSH_7.3 pat OpenSSH* compat 0x04000000
  29. debug2: fd 3 setting O_NONBLOCK
  30. debug1: Authenticating to 35.194.92.246:22 as 'partner2'
  31. debug3: hostkeys_foreach: reading file "/Users/mikeghen/.ssh/known_hosts"
  32. debug3: record_hostkey: found key type RSA in file /Users/mikeghen/.ssh/known_hosts:46
  33. debug3: load_hostkeys: loaded 1 keys from 35.194.92.246
  34. debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],rsa-sha2-512,rsa-sha2-256,ssh-rsa
  35. debug3: send packet: type 20
  36. debug1: SSH2_MSG_KEXINIT sent
  37. debug3: receive packet: type 20
  38. debug1: SSH2_MSG_KEXINIT received
  39. debug2: local client KEXINIT proposal
  40. debug2: KEX algorithms: curve25519-sha256,[email protected],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
  41. debug2: host key algorithms: [email protected],rsa-sha2-512,rsa-sha2-256,ssh-rsa,[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519
  42. debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc
  43. debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc
  44. debug2: compression ctos: none,[email protected],zlib
  45. debug2: compression stoc: none,[email protected],zlib
  46. debug2: languages ctos:
  47. debug2: languages stoc:
  48. debug2: first_kex_follows 0
  49. debug2: reserved 0
  50. debug2: peer server KEXINIT proposal
  51. debug2: KEX algorithms: [email protected],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
  52. debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256
  53. debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
  54. debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
  55. debug2: compression ctos: none,[email protected]
  56. debug2: compression stoc: none,[email protected]
  57. debug2: languages ctos:
  58. debug2: languages stoc:
  59. debug2: first_kex_follows 0
  60. debug2: reserved 0
  61. debug1: kex: algorithm: [email protected]
  62. debug1: kex: host key algorithm: rsa-sha2-512
  63. debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
  64. debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
  65. debug3: send packet: type 30
  66. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  67. debug3: receive packet: type 31
  68. debug1: Server host key: ssh-rsa SHA256:b7IjwPek87z7UvtbAdAsXBi+6OWx/RtYZ0xu11bx0jg
  69. debug3: hostkeys_foreach: reading file "/Users/mikeghen/.ssh/known_hosts"
  70. debug3: record_hostkey: found key type RSA in file /Users/mikeghen/.ssh/known_hosts:46
  71. debug3: load_hostkeys: loaded 1 keys from 35.194.92.246
  72. debug1: Host '35.194.92.246' is known and matches the RSA host key.
  73. debug1: Found key in /Users/mikeghen/.ssh/known_hosts:46
  74. debug3: send packet: type 21
  75. debug2: set_newkeys: mode 1
  76. debug1: rekey after 134217728 blocks
  77. debug1: SSH2_MSG_NEWKEYS sent
  78. debug1: expecting SSH2_MSG_NEWKEYS
  79. debug3: receive packet: type 21
  80. debug1: SSH2_MSG_NEWKEYS received
  81. debug2: set_newkeys: mode 0
  82. debug1: rekey after 134217728 blocks
  83. debug2: key: /Users/mikeghen/.ssh/id_rsa (0x7f8243d0f7b0)
  84. debug2: key: /Users/mikeghen/.ssh/id_dsa (0x0)
  85. debug2: key: /Users/mikeghen/.ssh/id_ecdsa (0x0)
  86. debug2: key: /Users/mikeghen/.ssh/id_ed25519 (0x0)
  87. debug3: send packet: type 5
  88. debug3: receive packet: type 7
  89. debug1: SSH2_MSG_EXT_INFO received
  90. debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
  91. debug3: receive packet: type 6
  92. debug2: service_accept: ssh-userauth
  93. debug1: SSH2_MSG_SERVICE_ACCEPT received
  94. debug3: send packet: type 50
  95. debug3: receive packet: type 51
  96. debug1: Authentications that can continue: publickey
  97. debug3: start over, passed a different list publickey
  98. debug3: preferred publickey,keyboard-interactive,password
  99. debug3: authmethod_lookup publickey
  100. debug3: remaining preferred: keyboard-interactive,password
  101. debug3: authmethod_is_enabled publickey
  102. debug1: Next authentication method: publickey
  103. debug1: Offering RSA public key: /Users/mikeghen/.ssh/id_rsa
  104. debug3: send_pubkey_test
  105. debug3: send packet: type 50
  106. debug2: we sent a publickey packet, wait for reply
  107. debug3: receive packet: type 51
  108. debug1: Authentications that can continue: publickey
  109. debug1: Trying private key: /Users/mikeghen/.ssh/id_dsa
  110. debug3: no such identity: /Users/mikeghen/.ssh/id_dsa: No such file or directory
  111. debug1: Trying private key: /Users/mikeghen/.ssh/id_ecdsa
  112. debug3: no such identity: /Users/mikeghen/.ssh/id_ecdsa: No such file or directory
  113. debug1: Trying private key: /Users/mikeghen/.ssh/id_ed25519
  114. debug3: no such identity: /Users/mikeghen/.ssh/id_ed25519: No such file or directory
  115. debug2: we did not send a packet, disable method
  116. debug1: No more authentication methods to try.
  117. Permission denied (publickey).
  118. Connection closed
  119.  
  120. sftp -vvv -P 22 [email protected]
  121.  
  122. OpenSSH_7.4p1 Debian-10+deb9u2, OpenSSL 1.0.2l 25 May 2017
  123. debug1: Reading configuration data /etc/ssh/ssh_config
  124. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  125. debug2: resolving "127.0.0.1" port 22
  126. debug2: ssh_connect_direct: needpriv 0
  127. debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22.
  128. debug1: Connection established.
  129. debug1: permanently_set_uid: 0/0
  130. debug1: key_load_public: No such file or directory
  131. debug1: identity file /root/.ssh/id_rsa type -1
  132. debug1: key_load_public: No such file or directory
  133. debug1: identity file /root/.ssh/id_rsa-cert type -1
  134. debug1: key_load_public: No such file or directory
  135. debug1: identity file /root/.ssh/id_dsa type -1
  136. debug1: key_load_public: No such file or directory
  137. debug1: identity file /root/.ssh/id_dsa-cert type -1
  138. debug1: key_load_public: No such file or directory
  139. debug1: identity file /root/.ssh/id_ecdsa type -1
  140. debug1: key_load_public: No such file or directory
  141. debug1: identity file /root/.ssh/id_ecdsa-cert type -1
  142. debug1: key_load_public: No such file or directory
  143. debug1: identity file /root/.ssh/id_ed25519 type -1
  144. debug1: key_load_public: No such file or directory
  145. debug1: identity file /root/.ssh/id_ed25519-cert type -1
  146. debug1: Enabling compatibility mode for protocol 2.0
  147. debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Debian-10+deb9u2
  148. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u2
  149. debug1: match: OpenSSH_7.4p1 Debian-10+deb9u2 pat OpenSSH* compat 0x04000000
  150. debug2: fd 3 setting O_NONBLOCK
  151. debug1: Authenticating to 127.0.0.1:22 as 'partner1'
  152. debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
  153. debug3: record_hostkey: found key type ED25519 in file /root/.ssh/known_hosts:1
  154. debug3: load_hostkeys: loaded 1 keys from 127.0.0.1
  155. debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],ssh-ed25519
  156. debug3: send packet: type 20
  157. debug1: SSH2_MSG_KEXINIT sent
  158. debug3: receive packet: type 20
  159. debug1: SSH2_MSG_KEXINIT received
  160. debug2: local client KEXINIT proposal
  161. debug2: KEX algorithms: curve25519-sha256,[email protected],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
  162. debug2: host key algorithms: [email protected],ssh-ed25519,[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa
  163. debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc
  164. debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc
  165. debug2: compression ctos: none,[email protected],zlib
  166. debug2: compression stoc: none,[email protected],zlib
  167. debug2: languages ctos:
  168. debug2: languages stoc:
  169. debug2: first_kex_follows 0
  170. debug2: reserved 0
  171. debug2: peer server KEXINIT proposal
  172. debug2: KEX algorithms: curve25519-sha256,[email protected],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
  173. debug2: host key algorithms: ssh-ed25519,ssh-rsa,rsa-sha2-512,rsa-sha2-256
  174. debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
  175. debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected]
  176. debug2: compression ctos: none,[email protected]
  177. debug2: compression stoc: none,[email protected]
  178. debug2: languages ctos:
  179. debug2: languages stoc:
  180. debug2: first_kex_follows 0
  181. debug2: reserved 0
  182. debug1: kex: algorithm: curve25519-sha256
  183. debug1: kex: host key algorithm: ssh-ed25519
  184. debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
  185. debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
  186. debug3: send packet: type 30
  187. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  188. debug3: receive packet: type 31
  189. debug1: Server host key: ssh-ed25519 SHA256:aj/R/n/zETfdf197C5Nw7/2FyK7v0tnPeFiv+5iCbxE
  190. debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
  191. debug3: record_hostkey: found key type ED25519 in file /root/.ssh/known_hosts:1
  192. debug3: load_hostkeys: loaded 1 keys from 127.0.0.1
  193. debug1: Host '127.0.0.1' is known and matches the ED25519 host key.
  194. debug1: Found key in /root/.ssh/known_hosts:1
  195. debug3: send packet: type 21
  196. debug2: set_newkeys: mode 1
  197. debug1: rekey after 134217728 blocks
  198. debug1: SSH2_MSG_NEWKEYS sent
  199. debug1: expecting SSH2_MSG_NEWKEYS
  200. debug3: receive packet: type 21
  201. debug1: SSH2_MSG_NEWKEYS received
  202. debug2: set_newkeys: mode 0
  203. debug1: rekey after 134217728 blocks
  204. debug2: key: /root/.ssh/id_rsa ((nil))
  205. debug2: key: /root/.ssh/id_dsa ((nil))
  206. debug2: key: /root/.ssh/id_ecdsa ((nil))
  207. debug2: key: /root/.ssh/id_ed25519 ((nil))
  208. debug3: send packet: type 5
  209. debug3: receive packet: type 7
  210. debug1: SSH2_MSG_EXT_INFO received
  211. debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
  212. debug3: receive packet: type 6
  213. debug2: service_accept: ssh-userauth
  214. debug1: SSH2_MSG_SERVICE_ACCEPT received
  215. debug3: send packet: type 50
  216. debug3: receive packet: type 51
  217. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  218. debug3: start over, passed a different list publickey,password,keyboard-interactive
  219. debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
  220. debug3: authmethod_lookup publickey
  221. debug3: remaining preferred: keyboard-interactive,password
  222. debug3: authmethod_is_enabled publickey
  223. debug1: Next authentication method: publickey
  224. debug1: Trying private key: /root/.ssh/id_rsa
  225. debug3: no such identity: /root/.ssh/id_rsa: No such file or directory
  226. debug1: Trying private key: /root/.ssh/id_dsa
  227. debug3: no such identity: /root/.ssh/id_dsa: No such file or directory
  228. debug1: Trying private key: /root/.ssh/id_ecdsa
  229. debug3: no such identity: /root/.ssh/id_ecdsa: No such file or directory
  230. debug1: Trying private key: /root/.ssh/id_ed25519
  231. debug3: no such identity: /root/.ssh/id_ed25519: No such file or directory
  232. debug2: we did not send a packet, disable method
  233. debug3: authmethod_lookup keyboard-interactive
  234. debug3: remaining preferred: password
  235. debug3: authmethod_is_enabled keyboard-interactive
  236. debug1: Next authentication method: keyboard-interactive
  237. debug2: userauth_kbdint
  238. debug3: send packet: type 50
  239. debug2: we sent a keyboard-interactive packet, wait for reply
  240. debug3: receive packet: type 51
  241. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  242. debug3: userauth_kbdint: disable: no info_req_seen
  243. debug2: we did not send a packet, disable method
  244. debug3: authmethod_lookup password
  245. debug3: remaining preferred:
  246. debug3: authmethod_is_enabled password
  247. debug1: Next authentication method: password
  248. [email protected]'s password:
  249.  
  250. # This is the ssh client system-wide configuration file. See
  251. # ssh_config(5) for more information. This file provides defaults for
  252. # users, and the values can be changed in per-user configuration files
  253. # or on the command line.
  254.  
  255. # Configuration data is parsed as follows:
  256. # 1. command line options
  257. # 2. user-specific file
  258. # 3. system-wide file
  259. # Any configuration value is only changed the first time it is set.
  260. # Thus, host-specific definitions should be at the beginning of the
  261. # configuration file, and defaults at the end.
  262.  
  263. # Site-wide defaults for some commonly used options. For a comprehensive
  264. # list of available options, their meanings and defaults, please see the
  265. # ssh_config(5) man page.
  266.  
  267. Host *
  268. # ForwardAgent no
  269. # ForwardX11 no
  270. # ForwardX11Trusted yes
  271. # RhostsRSAAuthentication no
  272. # RSAAuthentication yes
  273. # PasswordAuthentication yes
  274. # HostbasedAuthentication no
  275. # GSSAPIAuthentication no
  276. # GSSAPIDelegateCredentials no
  277. # GSSAPIKeyExchange no
  278. # GSSAPITrustDNS no
  279. # BatchMode no
  280. # CheckHostIP yes
  281. # AddressFamily any
  282. # ConnectTimeout 0
  283. # StrictHostKeyChecking ask
  284. # IdentityFile ~/.ssh/identity
  285. # IdentityFile ~/.ssh/id_rsa
  286. # IdentityFile ~/.ssh/id_dsa
  287. # IdentityFile ~/.ssh/id_ecdsa
  288. # IdentityFile ~/.ssh/id_ed25519
  289. # Port 22
  290. # Protocol 2
  291. # Cipher 3des
  292. # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
  293. # MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
  294. # EscapeChar ~
  295. # Tunnel no
  296. # TunnelDevice any:any
  297. # PermitLocalCommand no
  298. # VisualHostKey no
  299. # ProxyCommand ssh -q -W %h:%p gateway.example.com
  300. # RekeyLimit 1G 1h
  301. SendEnv LANG LC_*
  302. HashKnownHosts yes
  303. GSSAPIAuthentication yes
  304. PasswordAuthentication yes
  305.  
  306. # Secure defaults
  307. # See: https://stribika.github.io/2015/01/04/secure-secure-shell.html
  308. Protocol 2
  309. HostKey /etc/ssh/ssh_host_ed25519_key
  310. HostKey /etc/ssh/ssh_host_rsa_key
  311.  
  312. # Faster connection
  313. # See: https://github.com/atmoz/sftp/issues/11
  314. UseDNS no
  315.  
  316. # Limited access
  317. PermitRootLogin no
  318. X11Forwarding no
  319. AllowTcpForwarding no
  320.  
  321. # Force sftp and chroot jail
  322. Subsystem sftp internal-sftp
  323. ForceCommand internal-sftp
  324. ChrootDirectory %h
  325.  
  326. # Enable this for more logs
  327. #LogLevel VERBOSE
Add Comment
Please, Sign In to add comment