git无法使用sshkey方式连接
04-18 发布 | 08-17 更新 | 浏览数 36
AI 摘要
解决Git Clone失败:使用443端口连接GitHub的SSH配置方法
$telnet github.com 22
ssh: connect to host github.com port 22: Resource temporarily unavailable很奇怪,所以导致我 git clone git@xxxxxx:aaaaaaa/bbb.git 无法使用,网上搜了一下解决防范,使用443端口进行ssh连接。官方给的解决方案
$vi ~/.ssh/config
Host github.com
Hostname ssh.github.com
Port 443
User git