Skip to Content

Run SSH commands on cloudfoundry / SAP CP

Sep 14, 2017 at 12:41 PM


avatar image


I am currently working in under a space for which ssh is allowed:

- cf ssh-enabled APP
ssh support is enabled for 'APP'

- cf space-ssh-allowed SPACE
ssh support is enabled in space 'SPACE'

But I am not able to run commands like cf ssh : Error opening SSH connection: dial tcp 52.XX.XXX.XXX:2222: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I would like to know if it is allowed or not to remotely execute commands using ssh tunnels. I would like to enable some debugging options and remote monitoring on non productive applications.

I was not able to find documentation other than from the cloudfoundry documentation itself.
Could you please confirm if I should be able to create that technical tunneling or if it is not supported/allowed and there is no need I investigate further in this area ?

Many thanks.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Fabiano Rosa Nov 22, 2017 at 03:48 PM

I´m have the same situation to access the HANA DB (hanatrial) service in SCP Cloud Foudry. Did you able to connect with ssh?

10 |10000 characters needed characters left characters exceeded