SHARE
TWEET

Untitled

a guest Nov 14th, 2019 128 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -bash-4.2$ ssh -vvv ssh -o PreferredAuthentications=publickey -o PubkeyAuthentication=yes postgres@10.233.58.88
  2. OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
  3. debug1: Reading configuration data /etc/ssh/ssh_config
  4. debug1: /etc/ssh/ssh_config line 56: Applying options for *
  5. ssh: Could not resolve hostname ssh: Name or service not known
  6. -bash-4.2$ ssh -vvv -o PreferredAuthentications=publickey -o PubkeyAuthentication=yes postgres@10.233.58.88
  7. OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
  8. debug1: Reading configuration data /etc/ssh/ssh_config
  9. debug1: /etc/ssh/ssh_config line 56: Applying options for *
  10. debug2: ssh_connect: needpriv 0
  11. debug1: Connecting to 10.233.58.88 [10.233.58.88] port 22.
  12. debug1: Connection established.
  13. debug3: Incorrect RSA1 identifier
  14. debug3: Could not load "/var/lib/pgsql/.ssh/id_rsa" as a RSA1 public key
  15. debug1: identity file /var/lib/pgsql/.ssh/id_rsa type 1
  16. debug1: identity file /var/lib/pgsql/.ssh/id_rsa-cert type -1
  17. debug1: identity file /var/lib/pgsql/.ssh/id_dsa type -1
  18. debug1: identity file /var/lib/pgsql/.ssh/id_dsa-cert type -1
  19. debug1: identity file /var/lib/pgsql/.ssh/id_ecdsa type -1
  20. debug1: identity file /var/lib/pgsql/.ssh/id_ecdsa-cert type -1
  21. debug1: identity file /var/lib/pgsql/.ssh/id_ed25519 type -1
  22. debug1: identity file /var/lib/pgsql/.ssh/id_ed25519-cert type -1
  23. debug1: Enabling compatibility mode for protocol 2.0
  24. debug1: Local version string SSH-2.0-OpenSSH_6.6.1
  25. debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1
  26. debug1: match: OpenSSH_6.6.1 pat OpenSSH_6.6.1* compat 0x04000000
  27. debug2: fd 3 setting O_NONBLOCK
  28. debug3: load_hostkeys: loading entries for host "10.233.58.88" from file "/var/lib/pgsql/.ssh/known_hosts"
  29. debug3: load_hostkeys: found key type ECDSA in file /var/lib/pgsql/.ssh/known_hosts:1
  30. debug3: load_hostkeys: loaded 1 keys
  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. debug1: SSH2_MSG_KEXINIT sent
  33. debug1: SSH2_MSG_KEXINIT received
  34. debug2: kex_parse_kexinit: 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
  35. debug2: kex_parse_kexinit: 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-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-ed25519,ssh-rsa,ssh-dss
  36. debug2: kex_parse_kexinit: 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
  37. debug2: kex_parse_kexinit: 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
  38. debug2: kex_parse_kexinit: 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
  39. debug2: kex_parse_kexinit: 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
  40. debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
  41. debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
  42. debug2: kex_parse_kexinit:
  43. debug2: kex_parse_kexinit:
  44. debug2: kex_parse_kexinit: first_kex_follows 0
  45. debug2: kex_parse_kexinit: reserved 0
  46. debug2: kex_parse_kexinit: 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
  47. debug2: kex_parse_kexinit: ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
  48. debug2: kex_parse_kexinit: 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
  49. debug2: kex_parse_kexinit: 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
  50. debug2: kex_parse_kexinit: 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
  51. debug2: kex_parse_kexinit: 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
  52. debug2: kex_parse_kexinit: none,zlib@openssh.com
  53. debug2: kex_parse_kexinit: none,zlib@openssh.com
  54. debug2: kex_parse_kexinit:
  55. debug2: kex_parse_kexinit:
  56. debug2: kex_parse_kexinit: first_kex_follows 0
  57. debug2: kex_parse_kexinit: reserved 0
  58. debug2: mac_setup: setup hmac-md5-etm@openssh.com
  59. debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
  60. debug2: mac_setup: setup hmac-md5-etm@openssh.com
  61. debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
  62. debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16
  63. debug1: kex: curve25519-sha256@libssh.org need=16 dh_need=16
  64. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  65. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  66. debug1: Server host key: ECDSA 30:5d:cd:53:6b:ee:6f:39:d0:72:38:7b:a5:5e:d3:73
  67. debug3: load_hostkeys: loading entries for host "10.233.58.88" from file "/var/lib/pgsql/.ssh/known_hosts"
  68. debug3: load_hostkeys: found key type ECDSA in file /var/lib/pgsql/.ssh/known_hosts:1
  69. debug3: load_hostkeys: loaded 1 keys
  70. debug1: Host '10.233.58.88' is known and matches the ECDSA host key.
  71. debug1: Found key in /var/lib/pgsql/.ssh/known_hosts:1
  72. debug1: ssh_ecdsa_verify: signature correct
  73. debug2: kex_derive_keys
  74. debug2: set_newkeys: mode 1
  75. debug1: SSH2_MSG_NEWKEYS sent
  76. debug1: expecting SSH2_MSG_NEWKEYS
  77. debug2: set_newkeys: mode 0
  78. debug1: SSH2_MSG_NEWKEYS received
  79. debug1: SSH2_MSG_SERVICE_REQUEST sent
  80. debug2: service_accept: ssh-userauth
  81. debug1: SSH2_MSG_SERVICE_ACCEPT received
  82. debug2: key: /var/lib/pgsql/.ssh/id_rsa (0x7fe2a1d339f0),
  83. debug2: key: /var/lib/pgsql/.ssh/id_dsa ((nil)),
  84. debug2: key: /var/lib/pgsql/.ssh/id_ecdsa ((nil)),
  85. debug2: key: /var/lib/pgsql/.ssh/id_ed25519 ((nil)),
  86. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  87. debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
  88. debug3: preferred publickey
  89. debug3: authmethod_lookup publickey
  90. debug3: remaining preferred:
  91. debug3: authmethod_is_enabled publickey
  92. debug1: Next authentication method: publickey
  93. debug1: Offering RSA public key: /var/lib/pgsql/.ssh/id_rsa
  94. debug3: send_pubkey_test
  95. debug2: we sent a publickey packet, wait for reply
  96. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  97. debug1: Trying private key: /var/lib/pgsql/.ssh/id_dsa
  98. debug3: no such identity: /var/lib/pgsql/.ssh/id_dsa: No such file or directory
  99. debug1: Trying private key: /var/lib/pgsql/.ssh/id_ecdsa
  100. debug3: no such identity: /var/lib/pgsql/.ssh/id_ecdsa: No such file or directory
  101. debug1: Trying private key: /var/lib/pgsql/.ssh/id_ed25519
  102. debug3: no such identity: /var/lib/pgsql/.ssh/id_ed25519: No such file or directory
  103. debug2: we did not send a packet, disable method
  104. debug1: No more authentication methods to try.
  105. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top