Before testing your SSH connection, you should have already:
You'll need to authenticate this action using your password, which is the SSH key passphrase you created earlier. See Working with SSH key passphrases.
-
Open TerminalTerminalGit Bash.
-
Enter the following:
Shell ssh -T git@github.com # Attempts to ssh to GitHub
ssh -T git@github.com # Attempts to ssh to GitHubYou may see a warning like this:
> The authenticity of host 'github.com (IP ADDRESS)' can't be established. > ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU. > Are you sure you want to continue connecting (yes/no)? -
Verify that the fingerprint in the message you see matches GitHub's public key fingerprint. If it does, then type