首先; 我正在尝试使用本手册设置 hubot ,它在 12 天前工作。今天我尝试进行一些更改,但一次又一次失败,所以我从头开始。这是我做的步骤:
sudo gem uninstall heroku
// then I installed heroku toolbelt thinking that this could be the problem
rm -rf /Users/andrei/.ssh/*rsa*
heroku login
git init .
git add .
git commit -m "first"
heroku create
// then I did all the config stuff, etc.
git push heroku master
在这里一切都破裂了。我在挂了大约 10、15 分钟后得到了这个:
zippy-one:franjo andrei$ git push heroku master
ssh: connect to host heroku.com port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
好的,我将调试 SSH:
zippy-one:franjo andrei$ ssh -vvv heroku.com
OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012
debug1: Reading configuration data /Users/andrei/.ssh/config
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: /etc/ssh_config line 53: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to heroku.com [50.19.85.154] port 22.
debug1: connect to address 50.19.85.154 port 22: Operation timed out
debug1: Connecting to heroku.com [50.19.85.156] port 22.
debug1: connect to address 50.19.85.156 port 22: Operation timed out
debug1: Connecting to heroku.com [50.19.85.132] port 22.
debug1: connect to address 50.19.85.132 port 22: Operation timed out
ssh: connect to host heroku.com port 22: Operation timed out
现在我认为它可能会阻止这是我改变了我的主机名。但话又说回来,我重新创建了键,与heroku keys
.
你能帮我么?我在这里不知所措,我被困住了。先感谢您!
附加信息:
我看到了这个线程并在那里尝试了所有东西,正如你在那里看到的那样。没有防火墙阻止任何来自 ssh 或亚马逊服务器的连接。