Rails / Heroku:致命:远程端意外挂断

我昨天创建了一个Heroku帐户,上传了一个网站,多次更新。 但是今天当我尝试上传新版本时它确实没有用,它只是不断给我这个错误信息:

ssh: connect to host port 22: Connection refused fatal: The remote end hung up unexpectedly 

我尝试重新启动heroku服务器,我自己的计算机,使用以下命令创建新密钥: http : //devcenter.heroku.com/articles/keys

如果我去ssh -vvv mail @ adress:

 OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011 debug1: Reading configuration data /etc/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to [195.128.174.124] port 22. debug1: connect to address 195.128.174.124 port 22: Connection refused ssh: connect to host port 22: Connection refused 

我能做些什么才能让它发挥作用?

我在过去看到过这个问题,问题是托管应用程序位置不正确或安全密钥丢失/损坏。 你拥有的主机名看起来很奇怪。 除非您将该域映射到heroku托管应用程序。 通常,heroku app url会像herokuapp.com/someapname

但是,如果您有DNS映射,请忽略该评论。 但是,确实有人交叉检查关键安装步骤,并确保它们与heroku指南同步。