Created
December 7, 2018 04:39
-
-
Save wescleymatos/c590df9074e87bb85dbe0638f988f1de to your computer and use it in GitHub Desktop.
Problema de conexão ssh com github pu gitlab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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