$ rhc apps
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
dev @ http://
...
prod @ http://
$ rhc ssh prod
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
Application 'prod' not found.
$ rhc ssh --app dev
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
Application 'dev' not found.
我不知道还能说些什么。我不想删除我的ssh密钥,因为我在其他地方使用它们;加上错误似乎与ssh键无关。
我发现我可以登录我创建的应用,但不能登录与我共享的应用。即使使用为该应用程序提供的ssh地址(rhc ssh 565fc20989f5cfec5f111012@...
):
$ rhc ssh 565fc20989f5cfec5fddfd12@prod-xyzdomain.rhcloud.com
RSA 1024 bit CA certificates are loaded due to old openssl compatibility
Application '565fc20989f5cfec5fddfd12@prod-xyzdomain.rhcloud.com' not found.
答案 0 :(得分:6)
如果您的申请是" prod-myapp.rhcloud.com
&#34;您的应用程序名称实际上只是&#34; prod&#34;。命名方案是<application name>-<domain>.rhcloud.com
。
因此,ssh进入您的应用程序的命令将是&#34; rhc ssh prod
&#34;或&#34; rhc ssh prod -n myapp
&#34;如果应用不在您的默认域。