Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. firewall ~ $ ssh m4
  2. Password:
  3.  
  4. Jul 27 21:34:57 m4 sshd[29240]: pam_unix(sshd:session): session opened for user root by (uid=0)
  5. Jul 27 21:34:57 m4 sshd[29236]: Accepted keyboard-interactive/pam for root from firewall[192.168.9.248] port 4097 ssh2
  6.  
  7. but from another host, pubkey works fine
  8. Jul 27 21:34:57 m4 sshd[29240]: Accepted publickey for root from m3[192.168.9.9] port 6090 ssh2
  9.  
  10. firewall ~ $ ssh-add -L
  11. ssh-rsa AAAAB3NzaC1yc2EAA.....snip.....VBQ== rsa-key-20170210
  12. etc...
  13.  
  14. firewall ~ $ ssh m4 -v
  15. OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
  16. debug1: Reading configuration data /root/.ssh/config
  17. debug1: /root/.ssh/config line 11: Applying options for m4
  18. debug1: Reading configuration data /etc/ssh/ssh_config
  19. debug1: /etc/ssh/ssh_config line 56: Applying options for *
  20. debug1: Connecting to m4 [192.168.9.74] port 22.
  21. debug1: fd 3 clearing O_NONBLOCK
  22. debug1: Connection established.
  23. debug1: permanently_set_uid: 0/0
  24. debug1: identity file /root/.ssh/id_rsa type 1
  25. ...snip
  26. debug1: Enabling compatibility mode for protocol 2.0
  27. debug1: Local version string SSH-2.0-OpenSSH_6.6.1
  28. debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
  29. debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c000000
  30. debug1: SSH2_MSG_KEXINIT sent
  31. debug1: SSH2_MSG_KEXINIT received
  32. debug1: kex: server->client aes128-ctr hmac-sha1 none
  33. debug1: kex: client->server aes128-ctr hmac-sha1 none
  34. debug1: kex: diffie-hellman-group-exchange-sha256 need=20 dh_need=20
  35. debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<7680<8192) sent
  36. debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  37. debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  38. debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  39. debug1: Server host key: RSA 23:87:00:00:00:00:00:00:N0:N0:N0
  40. debug1: Host 'm4' is known and matches the RSA host key.
  41. debug1: Found key in /root/.ssh/known_hosts:1869
  42. debug1: ssh_rsa_verify: signature correct
  43. debug1: SSH2_MSG_NEWKEYS sent
  44. debug1: expecting SSH2_MSG_NEWKEYS
  45. debug1: SSH2_MSG_NEWKEYS received
  46. debug1: SSH2_MSG_SERVICE_REQUEST sent
  47. debug1: SSH2_MSG_SERVICE_ACCEPT received
  48. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive
  49. debug1: Next authentication method: gssapi-keyex
  50. debug1: No valid Key exchange context
  51. debug1: Next authentication method: gssapi-with-mic
  52. debug1: Unspecified GSS failure. Minor code may provide more information
  53. No Kerberos credentials available (default cache: KEYRING:persistent:0)
  54.  
  55. debug1: Unspecified GSS failure. Minor code may provide more information
  56. No Kerberos credentials available (default cache: KEYRING:persistent:0)
  57.  
  58. debug1: Next authentication method: keyboard-interactive
  59. Password: ^C
  60.  
  61. Host 10.99.2.23 # m4 drac
  62. PasswordAuthentication=yes
  63. PubkeyAuthentication=no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement