經過ssh github驗證key是否可用:git
1
|
$ ssh -T git@github.com |
ssh: connect to host github.com port 22: Connection refused
Add the following to your ./.ssh/config:github
host github.com hostname ssh.github.com port 443
This forces ssh over https for githubssh