在创建了我的Rails项目并将其推送到GIT库后,我无法将其推送到Heroku。
当我运行以下命令时:
我得到了这个错误:
git push heroku master
我得到了这个错误:
ssh: connect to host heroku.com port 22: Bad file number
fatal: The remote end hung up unexpectedly
我没有被防火墙、代理或VPN所限制... 我已经运行了
heroku status
它正在正常工作。
我甚至确保使用Git时ssh也能正常工作,并运行
ssh -vT git@github.com
并且它成功运行了
我运行
telnet heroku.com 22
并且它失败了
connecting to heroku.com .. could not open connection to the host, on port 22:Connect failed
同时运行并失败
ssh git@heroku.com
ssh: connect to host heroku.com port 22: bad file number