Guest User

Untitled

a guest
May 6th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.89 KB | None | 0 0
  1. $ ssh -vvv -i ~/key.pem private-user@<privateIP> -o ProxyCommand="ssh -vvv -W %h:%p -i ~/key.pem bastion-user@<bastionIP>"
  2. OpenSSH_7.4p1, LibreSSL 2.5.0
  3. debug1: Reading configuration data ~OpenSSH_7.4p1, LibreSSL 2.5.0
  4. debug1: Reading configuration data ~/.ssh/config
  5. debug1: ~/.ssh/config line 1: Applying options for *
  6. debug1: Reading configuration data /etc/ssh/ssh_config
  7. debug1: Executing proxy command: exec ssh -vvv -W <privateIP>:22 -i ~/key.pem bastion-user@<bastionIP>
  8. debug1: key_load_public: No such file or directory
  9. debug1: identity file ~/key.pem type -1
  10. debug1: key_load_public: No such file or directory
  11. debug1: identity file ~/key.pem-cert type -1
  12. debug1: identity file ~/.ssh/id_rsa type 1
  13. debug1: permanently_drop_suid: 99598839
  14. debug1: identity file ~/.ssh/id_rsa-cert type 5
  15. debug1: Enabling compatibility mode for protocol 2.0
  16. debug1: Local version string SSH-2.0-OpenSSH_7.4
  17. OpenSSH_7.4p1, LibreSSL 2.5.0
  18. debug1: Reading configuration data ~/.ssh/config
  19. debug1: ~/.ssh/config line 1: Applying options for *
  20. debug1: Reading configuration data /etc/ssh/ssh_config
  21. debug2: resolving "<bastionIP>" port 22
  22. debug2: ssh_connect_direct: needpriv 0
  23. debug1: Connecting to <bastionIP> [<bastionIP>] port 22.
  24. debug1: Connection established.
  25. debug1: key_load_public: No such file or directory
  26. debug1: identity file ~/key.pem type -1
  27. debug1: key_load_public: No such file or directory
  28. debug1: identity file ~/key.pem-cert type -1
  29. debug1: identity file ~/.ssh/id_rsa type 1
  30. debug1: identity file ~/.ssh/id_rsa-cert type 5
  31. debug1: Enabling compatibility mode for protocol 2.0
  32. debug1: Local version string SSH-2.0-OpenSSH_7.4
  33. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
  34. debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000
  35. debug2: fd 3 setting O_NONBLOCK
  36. debug1: Authenticating to <bastionIP>:22 as 'bastion-user'
  37. debug3: hostkeys_foreach: reading file "~/.ssh/known_hosts"
  38. debug3: record_hostkey: found key type ECDSA in file ~/.ssh/known_hosts:370
  39. debug3: load_hostkeys: loaded 1 keys from <bastionIP>
  40. debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
  41. debug3: send packet: type 20
  42. debug1: SSH2_MSG_KEXINIT sent
  43. debug3: receive packet: type 20
  44. debug1: SSH2_MSG_KEXINIT received
  45. debug2: local client KEXINIT proposal
  46. 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
  47. debug2: host key algorithms: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
  48. debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc
  49. debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc
  50. debug2: compression ctos: none,[email protected],zlib
  51. debug2: compression stoc: none,[email protected],zlib
  52. debug2: languages ctos:
  53. debug2: languages stoc:
  54. debug2: first_kex_follows 0
  55. debug2: reserved 0
  56. debug2: peer server KEXINIT proposal
  57. 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,diffie-hellman-group1-sha1
  58. debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
  59. debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
  60. debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
  61. debug2: compression ctos: none,[email protected]
  62. debug2: compression stoc: none,[email protected]
  63. debug2: languages ctos:
  64. debug2: languages stoc:
  65. debug2: first_kex_follows 0
  66. debug2: reserved 0
  67. debug1: kex: algorithm: curve25519-sha256
  68. debug1: kex: host key algorithm: ecdsa-sha2-nistp256
  69. debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
  70. debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
  71. debug3: send packet: type 30
  72. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  73. debug3: receive packet: type 31
  74. debug1: Server host key: ecdsa-sha2-nistp256 SHA256:KuuDM97ILiD8YYJ7gyVeHrJbkCZBuZcheEtG8Bueg7I
  75. debug3: hostkeys_foreach: reading file "~/.ssh/known_hosts"
  76. debug3: record_hostkey: found key type ECDSA in file ~/.ssh/known_hosts:370
  77. debug3: load_hostkeys: loaded 1 keys from <bastionIP>
  78. debug1: Host '<bastionIP>' is known and matches the ECDSA host key.
  79. debug1: Found key in ~/.ssh/known_hosts:370
  80. debug3: send packet: type 21
  81. debug2: set_newkeys: mode 1
  82. debug1: rekey after 134217728 blocks
  83. debug1: SSH2_MSG_NEWKEYS sent
  84. debug1: expecting SSH2_MSG_NEWKEYS
  85. debug3: receive packet: type 21
  86. debug1: SSH2_MSG_NEWKEYS received
  87. debug2: set_newkeys: mode 0
  88. debug1: rekey after 134217728 blocks
  89. debug2: key: (0x7f92d240f520), agent
  90. debug2: key: ~/key.pem (0x0), explicit
  91. debug2: key: ~/.ssh/id_rsa (0x7f92d2704c40), explicit
  92. debug2: key: ~/.ssh/id_rsa (0x7f92d2502050), explicit
  93. debug3: send packet: type 5
  94. debug3: receive packet: type 7
  95. debug1: SSH2_MSG_EXT_INFO received
  96. debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
  97. debug3: receive packet: type 6
  98. debug2: service_accept: ssh-userauth
  99. debug1: SSH2_MSG_SERVICE_ACCEPT received
  100. debug3: send packet: type 50
  101. debug3: receive packet: type 51
  102. debug1: Authentications that can continue: publickey
  103. debug3: start over, passed a different list publickey
  104. debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
  105. debug3: authmethod_lookup publickey
  106. debug3: remaining preferred: keyboard-interactive,password
  107. debug3: authmethod_is_enabled publickey
  108. debug1: Next authentication method: publickey
  109. debug1: Offering RSA public key:
  110. debug3: send_pubkey_test
  111. debug3: send packet: type 50
  112. debug2: we sent a publickey packet, wait for reply
  113. debug3: receive packet: type 60
  114. debug1: Server accepts key: pkalg rsa-sha2-512 blen 279
  115. debug2: input_userauth_pk_ok: fp SHA256:Yj7T66SnCPvurJgUvqduyG0LalACnVlbHFc5ZH8q5ls
  116. debug3: sign_and_send_pubkey: RSA SHA256:Yj7T66SnCPvurJgUvqduyG0LalACnVlbHFc5ZH8q5ls
  117. debug3: send packet: type 50
  118. debug3: receive packet: type 52
  119. debug1: Authentication succeeded (publickey).
  120. Authenticated to <bastionIP> ([<bastionIP>]:22).
  121. debug3: ssh_init_stdio_forwarding: <privateIP>:22
  122. debug1: channel_connect_stdio_fwd <privateIP>:22
  123. debug1: channel 0: new [stdio-forward]
  124. debug2: fd 5 setting O_NONBLOCK
  125. debug2: fd 6 setting O_NONBLOCK
  126. debug1: getpeername failed: Bad file descriptor
  127. debug3: send packet: type 90
  128. debug2: fd 3 setting TCP_NODELAY
  129. debug3: ssh_packet_set_tos: set IP_TOS 0x10
  130. debug1: Requesting [email protected]
  131. debug3: send packet: type 80
  132. debug1: Entering interactive session.
  133. debug1: pledge: network
  134. debug3: receive packet: type 80
  135. debug1: client_input_global_request: rtype [email protected] want_reply 0
  136. debug3: receive packet: type 92
  137. channel 0: open failed: administratively prohibited: open failed
  138. debug2: callback start
  139. stdio forwarding failed
  140. ssh_exchange_identification: Connection closed by remote host/.ssh/config
Advertisement
Add Comment
Please, Sign In to add comment