Advertisement
lovejoy777

ssh key problems

Dec 23rd, 2014
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.41 KB | None | 0 0
  1. lovejoy777@alien:~$ ssh -vT git@github.com
  2. OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
  3. debug1: Reading configuration data /etc/ssh/ssh_config
  4. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  5. debug1: Connecting to github.com [192.30.252.131] port 22.
  6. debug1: Connection established.
  7. debug1: identity file /home/lovejoy777/.ssh/id_rsa type 1
  8. debug1: identity file /home/lovejoy777/.ssh/id_rsa-cert type -1
  9. debug1: identity file /home/lovejoy777/.ssh/id_dsa type -1
  10. debug1: identity file /home/lovejoy777/.ssh/id_dsa-cert type -1
  11. debug1: identity file /home/lovejoy777/.ssh/id_ecdsa type -1
  12. debug1: identity file /home/lovejoy777/.ssh/id_ecdsa-cert type -1
  13. debug1: identity file /home/lovejoy777/.ssh/id_ed25519 type -1
  14. debug1: identity file /home/lovejoy777/.ssh/id_ed25519-cert type -1
  15. debug1: Enabling compatibility mode for protocol 2.0
  16. debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-8
  17. debug1: Remote protocol version 2.0, remote software version libssh-0.6.0
  18. debug1: no match: libssh-0.6.0
  19. debug1: SSH2_MSG_KEXINIT sent
  20. debug1: SSH2_MSG_KEXINIT received
  21. debug1: kex: server->client aes128-ctr hmac-sha1 none
  22. debug1: kex: client->server aes128-ctr hmac-sha1 none
  23. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  24. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  25. debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
  26. debug1: Host 'github.com' is known and matches the RSA host key.
  27. debug1: Found key in /home/lovejoy777/.ssh/known_hosts:1
  28. debug1: ssh_rsa_verify: signature correct
  29. debug1: SSH2_MSG_NEWKEYS sent
  30. debug1: expecting SSH2_MSG_NEWKEYS
  31. debug1: SSH2_MSG_NEWKEYS received
  32. debug1: Roaming not allowed by server
  33. debug1: SSH2_MSG_SERVICE_REQUEST sent
  34. debug1: SSH2_MSG_SERVICE_ACCEPT received
  35. debug1: Authentications that can continue: publickey
  36. debug1: Next authentication method: publickey
  37. debug1: Offering RSA public key: /home/lovejoy777/.ssh/id_rsa
  38. debug1: Server accepts key: pkalg ssh-rsa blen 279
  39. debug1: Authentication succeeded (publickey).
  40. Authenticated to github.com ([192.30.252.131]:22).
  41. debug1: channel 0: new [client-session]
  42. debug1: Entering interactive session.
  43. debug1: Sending environment.
  44. debug1: Sending env LANG = en_GB.UTF-8
  45. Hi lovejoy777! You've successfully authenticated, but GitHub does not provide shell access.
  46. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
  47. debug1: channel 0: free: client-session, nchannels 1
  48. Transferred: sent 3312, received 1784 bytes, in 0.3 seconds
  49. Bytes per second: sent 11697.4, received 6300.8
  50. debug1: Exit status 1
  51. lovejoy777@alien:~$ ssh -T git@github.com
  52. Hi lovejoy777! You've successfully authenticated, but GitHub does not provide shell access.
  53. lovejoy777@alien:~$ ssh-add -l
  54. 2048 68:d2:3a:69:a6:77:7c:8d:15:0a:7c:ee:e0:da:37:5d salovejoy777@gmail.com (RSA)
  55. lovejoy777@alien:~$ ssh -vT git@github.com
  56. OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
  57. debug1: Reading configuration data /etc/ssh/ssh_config
  58. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  59. debug1: Connecting to github.com [192.30.252.129] port 22.
  60. debug1: Connection established.
  61. debug1: identity file /home/lovejoy777/.ssh/id_rsa type 1
  62. debug1: identity file /home/lovejoy777/.ssh/id_rsa-cert type -1
  63. debug1: identity file /home/lovejoy777/.ssh/id_dsa type -1
  64. debug1: identity file /home/lovejoy777/.ssh/id_dsa-cert type -1
  65. debug1: identity file /home/lovejoy777/.ssh/id_ecdsa type -1
  66. debug1: identity file /home/lovejoy777/.ssh/id_ecdsa-cert type -1
  67. debug1: identity file /home/lovejoy777/.ssh/id_ed25519 type -1
  68. debug1: identity file /home/lovejoy777/.ssh/id_ed25519-cert type -1
  69. debug1: Enabling compatibility mode for protocol 2.0
  70. debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-8
  71. debug1: Remote protocol version 2.0, remote software version libssh-0.6.0
  72. debug1: no match: libssh-0.6.0
  73. debug1: SSH2_MSG_KEXINIT sent
  74. debug1: SSH2_MSG_KEXINIT received
  75. debug1: kex: server->client aes128-ctr hmac-sha1 none
  76. debug1: kex: client->server aes128-ctr hmac-sha1 none
  77. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  78. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  79. debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
  80. debug1: Host 'github.com' is known and matches the RSA host key.
  81. debug1: Found key in /home/lovejoy777/.ssh/known_hosts:1
  82. debug1: ssh_rsa_verify: signature correct
  83. debug1: SSH2_MSG_NEWKEYS sent
  84. debug1: expecting SSH2_MSG_NEWKEYS
  85. debug1: SSH2_MSG_NEWKEYS received
  86. debug1: Roaming not allowed by server
  87. debug1: SSH2_MSG_SERVICE_REQUEST sent
  88. debug1: SSH2_MSG_SERVICE_ACCEPT received
  89. debug1: Authentications that can continue: publickey
  90. debug1: Next authentication method: publickey
  91. debug1: Offering RSA public key: /home/lovejoy777/.ssh/id_rsa
  92. debug1: Server accepts key: pkalg ssh-rsa blen 279
  93. debug1: Authentication succeeded (publickey).
  94. Authenticated to github.com ([192.30.252.129]:22).
  95. debug1: channel 0: new [client-session]
  96. debug1: Entering interactive session.
  97. debug1: Sending environment.
  98. debug1: Sending env LANG = en_GB.UTF-8
  99. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
  100. Hi lovejoy777! You've successfully authenticated, but GitHub does not provide shell access.
  101. debug1: channel 0: free: client-session, nchannels 1
  102. Transferred: sent 3312, received 1784 bytes, in 0.3 seconds
  103. Bytes per second: sent 10036.7, received 5406.2
  104. debug1: Exit status 1
  105. lovejoy777@alien:~$ eval "$(ssh-agent -s)"
  106. Agent pid 10029
  107. lovejoy777@alien:~$ ssh-add -l
  108. The agent has no identities.
  109. lovejoy777@alien:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement