当我尝试将代码推送到我的heroku.com远程git仓库时,出现以下信息:
ssh: connect to host heroku.com port 22: Connection refused
我可以很容易地使用与github上相同的SSH密钥来操作我的存储库。
输入:
$ssh git@github.com #outputs: success message
$ssh git@heroku.com #outputs: ssh: connect to host heroku.com port 22: Connection refused
我使用的是Mac OS 10.6操作系统,而且我正在(慢慢地)学习中!
更新:
$telnet heroku.com 22
得到的输出为:
Trying 75.101.145.87...
telnet: connect to address 75.101.145.87: Connection refused
Trying 75.101.163.44...
telnet: connect to address 75.101.163.44: Connection refused
Trying 174.129.212.2...
telnet: connect to address 174.129.212.2: Connection refused
telnet: Unable to connect to remote host