通过ssh连接到CF - 错误

时间:2017-02-09 11:27:04

标签: ssh ibm-cloud remote-debugging cloudfoundry pivotal-cloud-foundry

我需要调试我的应用程序,我们使用的是版本2.65(Diego) 。 我使用以下维基 http://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html

通过cli运行cf ssh myapp

没有任何反应,我应该按顺序做什么

1. To see the container FS
2. To be able to debug it ? 

该应用程序已成功部署到CF. 我正在使用nodejs app。 所有其他命令都运行良好。

当我运行命令cf ssh myapp时,我在两分钟后收到此错误:

FAILED
Error opening SSH connection: dial tcp 52.23.201.1:2277: getsockopt: operation timed out

1 个答案:

答案 0 :(得分:0)

这听起来像是使用非标准ssh端口的平台问题。

您可以在https://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html

上找到更多ssh访问手动步骤/疑难解答提示

如果您认为这是一个实例问题,可以使用api下载droplet / fs的副本,更多信息请参见https://apidocs.cloudfoundry.org/213/apps/downloads_the_staged_droplet_for_an_app.html