【发布时间】:2018-10-15 17:11:18
【问题描述】:
我在推码中:
ssh: connect to host ssh.github.com port 22: Connection refused
错误,我在网上找的,看到有人说是在~/.ssh目录下创建配置文件,在配置文件中输入
Host github.com
User myusername
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
但是ping github.com又出现ssh: connect to host ssh.github.com port 443: Connection refused 错误,请大辰告诉我解决办法
【问题讨论】: