Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

293
Vistas
How to verify github SSH key

I want to verify that my SSH key in github matches the local file on my computer.

enter image description here

The github key seems to be SHA256, encoded in base64, but my local key, encoded with this command doesn't seem to match it.

$ cat ~/.ssh/github.pub | sha256sum | base64

Is there a better way to achieve what I'm trying to do?

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

A simple way to test that they match is by authenticating by ssh in the command line.

After setting up your ssh-key, type:

ssh -T git@github.com

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/testing-your-ssh-connection

over 4 years ago · Santiago Trujillo Denunciar

0

An SSH public key in OpenSSH format contains two or three parts, separated by spaces:

  • The algorithm name.
  • A base64-encoded SSH public key in protocol format.
  • An optional comment.

The fingerprint of an SSH key is the base64-encoded SHA-256 hash of the raw public key (that is, without the base64 encoding). You can script this, but fortunately, there's an easy way to find it out using ssh-keygen:

$ ssh-keygen -l -f ~/.ssh/id_ed25519.pub

You can change the file name for the public key to the appropriate one on your system. On my system, the output looks like this:

256 SHA256:E59Xzh/fsZKkCEL46kTLbPFGXyIodA+ntsQL0JWmq9Y bmc@camp (ED25519)

The fingerprint is the second piece.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda