Skip to content

Instantly share code, notes, and snippets.

@wescleymatos
Created December 7, 2018 04:39
Show Gist options
  • Save wescleymatos/c590df9074e87bb85dbe0638f988f1de to your computer and use it in GitHub Desktop.
Save wescleymatos/c590df9074e87bb85dbe0638f988f1de to your computer and use it in GitHub Desktop.
Problema de conexão ssh com github pu gitlab
1 - Na pasta .ssh criar o arquivo config
2 - Colocar o seguinte conteúdo
Host github.com
Hostname ssh.github.com
Port 443
Host gitlab.com
Hostname altssh.gitlab.com
User git
Port 443
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment