通过 ssh 连接到 CF - 错误



我需要调试我的应用程序,我们使用的是2.65版(迭戈(.我使用以下维基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应用程序。所有其他命令都运行良好。

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

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

这听起来像是使用非标准 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

最新更新