Criar o arquivo ~/.ssh/config e adicionar:
Host github.com
Hostname ssh.github.com
Port 443
Host bitbucket.org
Hostname altssh.bitbucket.org
Port 443
Host gitlab.com
Hostname altssh.gitlab.com
Port 443
Conferir se no github funcionou:
ssh -T [email protected]
Hi @username! You've successfully authenticated, but GitHub does not
provide shell access.
Conferir se no bitbucket funcionou:
ssh -T [email protected]
logged in as @username.
You can use git or hg to connect to Bitbucket. Shell access is disabled.
Conferir se no gitlab funcionou:
ssh -T [email protected]
Welcome to GitLab, @username!