Skip to Content

No such host when running CLI SSH commands

Hello,

I am following the blog https://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html to enable debugging.

When running following command,

cf ssh firstapp_cf-application -c "app/META-INF/.sap_java_buildpack/sapjvm/bin/jvmmon"

I got the error.

FAILED
Error opening SSH connection: dial tcp: lookup ssh.cf.eu10.hana.ondemand.com: no such host.

I already enable SSH for my application and setup proxy.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 20 at 08:45 AM

    Hi Jerry,

    Did you restart your app after enabling ssh?

    Add comment
    10|10000 characters needed characters exceeded