0

I've searched a lot and all found solutions weren't work.

I generated ssh key via:

ssh-keygen -t rsa -b 4096 -C "myemail@gmail.com"

I got the key:

cat /home/drupality/.ssh/id_rsa.pub

I noticed that key hasn't an email address inside, but my username (drupality).

I put key to github SSH keys settings.

Most imported:

ssh-add /home/drupality/.ssh/id_rsa

Now I'm trying:

ssh git@github.com

an output:

The authenticity of host 'github.com (192.30.252.130)' 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)?  Host key verification failed.

What I've done wrong?

Jakuje
  • 9,715
  • 2
  • 42
  • 45
Codium
  • 123
  • 1
  • 10

1 Answers1

1

There is really nice how-to on github:

https://help.github.com/articles/what-are-github-s-ssh-key-fingerprints/

Your keys fingerprint is matching so no worry with writing yes and pressing enter.

Jakuje
  • 9,715
  • 2
  • 42
  • 45