GitHub : import SSH i cant import ssh key in my github account

Viewed 26

when i want to import my ssh key in github i have This Erorr "Key is invalid. You must supply a key in OpenSSH public key format"

my ssh key

1 Answers

Try again with:

ssh -P "" -t rsa -f ~/.ssh/github
cat ~/.ssh/github.pub

Copy the public key content in your GitHub SSH setting page: this one should work.

One starting with SHA256:... looks like a key fingerprint, not an actual public key.

Related