When you test your connection, you'll need to authenticate this action using your password, which is the SSH key passphrase you created earlier. For more information on working with SSH key passphrases, see "Working with SSH key passphrases".
Open the command line and enter:
ssh -T firstname.lastname@example.org # Attempts to ssh to GitHubYou may see one of these warnings:
The authenticity of host 'github.com (220.127.116.11)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)?
The authenticity of host 'github.com (18.104.22.168)' can't be established. RSA key fingerprint is nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. Are you sure you want to continue connecting (yes/no)?Note: The example above lists the GitHub IP address as 22.214.171.124. When pinging GitHub, you may see a range of IP addresses. For more information, see "What IP addresses does GitHub use that I should whitelist?"
Verify that the fingerprint in the message you see matches the following message, then type
Hi username! You've successfully authenticated, but GitHub does not provide shell access.
Verify that the resulting message contains your username. If you see a message that contains "access denied," see "Error: Permission denied (publickey)".
If you receive a message about "access denied," you can read these instructions for diagnosing the issue.
- If you're switching from HTTPS to SSH, you'll need to update your remote repository URLs.