DEV Community

Samuel Dourado
Samuel Dourado

Posted on

4 1

Como adicionar chave SSH no Github

1. Instalar cliente SSH

$ sudo apt-get install openssh-client
Enter fullscreen mode Exit fullscreen mode

2. Gerar chave SSH

$ ssh-keygen 
Enter fullscreen mode Exit fullscreen mode

3. Acesse seu perfil do Github e abra a página de gerenciamento de chaves SSH. O caminho para a página gerenciamentos de chaves SSH é Settings/SSH and GPG keys. Você também pode acessar a página pelo link.
image

4. Adicione a chave SSH key, através do botão New SSH key. Para adicionar a chave basta informar um título para a chave, o título é útil para ajudar identificar a chave, no meu caso eu escolhi "PC trabalho" como título, depois de informar o título cole a chave geradas nos passos 2 e 3 no campo key e clique em Add SSH key.
image

5. Apos acionar o botão de Add SSH key o Github solicitara confirmação de senha, informe sua senha e pronto sua chave SSH foi adicionada.

Para verificar se sua chave foi gerada basta acessar a tela de gerenciamento de chaves SSH e GPG (Settings/SSH and GPG keys).
image

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay