J
J
Johnny Smith2019-04-14 21:16:08
SSH
Johnny Smith, 2019-04-14 21:16:08

GitHub ssh key not accepted?

I do the key generation in the bash according to the GitHub instructions, the SHA256 key is generated:, I paste it on GitHub
. In response, I get:

key is invalid. It must begin with 'ssh-ed25519', 'ssh-rsa', 'ssh-dss', 'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp384', or 'ecdsa-sha2-nistp521'. Check that you're copying the public half of the key

Should I use a different key generation/encryption algorithm?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitsliputsli, 2019-04-14
@Olek1

You need to upload the public key to the server, but you are trying to upload the key fingerprint.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question