我正在尝试在 git 上设置一个存储库。我创建了一个帐户并开始设置。我目前正处于此页面的最后一步:http://help.github.com/msysgit-key-setup/
[测试]
我愿意:$ssh <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a7c0ced3e7c0ced3cfd2c589c4c8ca" rel="noreferrer noopener nofollow">[email protected]</a>
并得到错误 ssh: connect to host github.com port 22: Bad file number
任何人都可以帮助我启动并运行我的存储库吗?
非常感谢大家的阅读和帮助!
编辑:
1) 我运行的是 Windows Vista
2) 由于我住在寄宿学校,我可能会遇到防火墙问题
3)当我尝试推送存储库时的图像:
最佳答案
如果您的代理/防火墙不允许传出 ssh 请求(您可以使用 this SO answer 检查与 ssh 相关的问题),请尝试 https:
有了 GitHub,您就有了 smart HTTP support 供您在推送到 GitHub 存储库时使用。 (此other SO answer也有详细介绍)
关于git - 当我尝试验证我的公钥时出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5113537/