ssh:连接到主机heroku.com端口22:连接超时 [英] ssh: connect to host heroku.com port 22: Connection timed out
问题描述
我在Ubuntu 11.10工作
我的git-repo的本地分支是最新的
I am working on Ubuntu 11.10 Local branch of my git-repo is up to date
然后在终端中编写以下命令:heroku create - -stack雪松,它说:
注意:在6月20日星期三,我们的默认堆栈将更改为雪松。 http://bit.ly/Lh0rM5
I then wrote following command in terminal: heroku create --stack cedar and it said:
Notice: on Wed, 20 June, our default stack will change to Cedar. http://bit.ly/Lh0rM5
创建radiant-wind-7413 ... done,stack is cedar
http:// radiant-wind-7413.herokuapp.com/ | git@heroku.com:radiant-wind-7413.git
添加了Git远程heroku
Creating radiant-wind-7413... done, stack is cedar
http://radiant-wind-7413.herokuapp.com/ | git@heroku.com:radiant-wind-7413.git
Git remote heroku added
到目前为止,我在终端输入了以下内容:
All fine till now, then I typed following in terminal:
git push heroku master
并出现以下错误:
ssh:连接到主机heroku.com端口22:连接超时
致命:远程端意外挂起
推荐答案
很可能是某种防火墙问题,或者您的网络管理员已阻止您的网络中的传出端口22。
Most probably some sort of firewall issue or your network admin has blocked outgoing port 22 in your network.
您可以使用简单的凭证通过以下方式查看与Heroku的连接:
You may use simple scrip to see your connection to Heroku by :
$ ssh -vvv git@heroku.com
如果您看到连接超时,那么您可能需要请求您的管理员可以解除阻止端口22.或者,您也可以通过隧道访问Heroku。 port-443/19536371#19536371>使用端口443连接到heroku
If you seeing connect timed out then you may need to request your admin to unblock port 22. Alternatively may access Heroku via tunneling as per my answer in Connecting to heroku using port 443
这篇关于ssh:连接到主机heroku.com端口22:连接超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!