Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cf ssh command parameters #1907

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs-java/features/connectivity/006-running-locally.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,12 @@ cf restart app-name

- `credentials.onpremise_proxy_port` (we will refer to the value as _proxy-port_ hereafter)
- `credentials.onpremise_proxy_host` (we will refer to the value as _proxy-host_ hereafter)
- `credentials.onpremise_proxy_http_port` (we will refer to the value as _proxy_http_port_ hereafter)

- Create an SSH session to your app container with the following command and let the session opened:

```bash
cf ssh app-name -L proxy-port:proxy-host:proxy-port
cf ssh app-name -L proxy-port:proxy-host:proxy_http_port
```

- Copy over the `VCAP_SERVICES` of your actually deployed app to your local machine so that the app can access it.
Expand Down