Skip to content

Instantly share code, notes, and snippets.

@GabrielCzar
Last active April 28, 2021 15:16
Show Gist options
  • Save GabrielCzar/68008e4bcc8733e28ab22f9ba0646984 to your computer and use it in GitHub Desktop.
Save GabrielCzar/68008e4bcc8733e28ab22f9ba0646984 to your computer and use it in GitHub Desktop.
Git Config SSH Keygen
#!/bin/bash
# Crie a chave SSH na sua maquina
# Apenas confirme todas as entradas, mas se quiser mais seguranca coloque uma senha na hora que for solicitado
# No caso do SO Windows usa o ssh-keygen.exe
ssh-keygen -C "[email protected]"
# Logue na conta do github
# Entre no seguinte link
# https://github.com/settings/keys
# Copie tudo que for mostrado com o comando CAT para o SSH Keys do github
cat ~/.ssh/id_rsa.pub
# Pronto SSH configurado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment