What is the simplest way to access the Cloud Foundry application container using WinSCP?
The way I know, I need following steps:
- Login / Target
cf login cf target -o app-org -s app-space
Retrieve and display the given app's guid
cf app pef-sso-server-dev --guid
Get a one time password for ssh clients
cf ssh-code
Establishing a connection
- hostname:
<my-app>.<my-domain>
- port:
2222
- username:
cf:<app-guid>/<app-instance-index>@ssh.<my-domain>
- password:
<ssh-code>
- hostname:
Could we just use CF CLI to create SSH tunnel and connect WinSCP to local forwarded port without re-authentication?