0

I am trying for the first time to add a recently created SSH key from Git on windows to Git-hub. When entering "$ SSH -T [email protected]" into Git it pops up with a key fingerprint and I dont recognize what its listed as. Sorry but this is my first time doing this. All it says is "ED2219 key fingerprint is (I dont' recognize the part that comes after.'"

Its is asking me if I want to continue with options (yes/no/[fingerprint])? I have not tried any solutions to my issue.

1

1 Answer 1

1

Add the SSH key to your GitHub account

# Copies the contents of the id_ed25519.pub file to your clipboard
 clip < ~/.ssh/id_ed25519.pub

Tip: If clip isn't working, you can locate the hidden .ssh folder in C:/../User/.ssh, open the file in your favorite text editor, and copy it to your clipboard.

enter image description here

Testing your SSH connection

    ## Attempts to ssh to GitHub
    $ ssh -T [email protected]
    ## output
    > 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)?
  • Compare if your fingerprint (in this example SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU) is the same as one of the GitHub's SSH key fingerprints
    if so then continue with yes
# Output
Hi USERNAME! You've successfully authenticated,
        but GitHub does not provide shell access.

If you have the same output , then all is well, and you should be able to use shh with GitHub

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.