Skip to content

Instantly share code, notes, and snippets.

@GustavoGomesDias
Last active August 12, 2022 18:11
Show Gist options
  • Save GustavoGomesDias/243a7db0e3ffb567a74075a225324a3e to your computer and use it in GitHub Desktop.
Save GustavoGomesDias/243a7db0e3ffb567a74075a225324a3e to your computer and use it in GitHub Desktop.
Manager GitHub access in droplet

Explicação

Por algum motivo, eu não estava conseguindo acessar o github via droplet, descobri uns passos necessários O que eu fiz:

  1. Criei a chave ssh
  2. Adicionei no GitHub
  3. (deu o problema Permission denied (publickey).)
  4. Copiei o conteúdo da chave que eu criei
# cd ~/.ssh
# nano my_key.pub
  1. Colei ela dentro de authorized_keys.
  2. Run
# ssh-agent -s or eval `ssh-agent -s`
# ssh-add ~/.ssh/my_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment