Skip to content

Github ssh

开启代理后无法访问Github的22端口

https://blog.csdn.net/qq_38367575/article/details/135735348

Host github.com
User git
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443

Host gitlab.com
Hostname altssh.gitlab.com
User git
Port 443
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa