无法推动豆茎大师
当我运行命令时,我正在使用 Windows git bash git push beanstalk master
我收到以下错误,
Connected to host `XXXXXX.beanstalkapp.com port 22:` bad file number
fatal: the remote end hung up unexpectedly.
I am using windows git bash, when i run the command
git push beanstalk master
I got the following error,
Connected to host `XXXXXX.beanstalkapp.com port 22:` bad file number
fatal: the remote end hung up unexpectedly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您要么位于无法转发密钥的代理后面,要么防火墙不允许传出端口 22(默认情况下 SSH 使用的端口)访问。尝试修复该问题或使用 https 等替代协议进行推送。
You are either behind a proxy that is not able to forward the key or a firewall is not allowing outgoing port 22 ( the port used by SSH by default ) access. Try fixing that or use alternate protocol like https for pushing.
这可能意味着 ssh 存在某种网络问题(例如,在工作中,严格禁止通过端口 22 发出任何传出 ssh 请求)。
但我不认为 beanstalkapp 支持 智能 http 就像 GitHub 一样,所以这意味着您也没有 https。
您可以尝试一些“解决方法”,例如使用端口 443 (SSL) 进行 SSH请求,但请确保您没有规避任何企业安全策略。
It can mean some kind of network issue with ssh (at work, for instance, any outgoing ssh request through port 22 is strictly forbidden).
But I don't think beanstalkapp supports smart http like GitHub does, so that means no https for you either.
You might try some "workaround", like using port 443 (SSL) for your SSH requests, but make sure you aren't circumventing any enterprise security policy.