on 01-24-2020 10:39 PM
Hi, I am trying to create a SSH connection from Eclipse to my app deployed in the Cloud Foundry.
The app is ssh-enabled.
I am trying to start the JVMMON over SSH using the following command:
cf ssh <app_name> -c "app/META-INF/.sap_java_buildpack/sapjvm/bin/jvmmon"
If my laptop is in my company's VPN network, I am not able to connect and get the following error:
"Error opening SSH connection: dial tcp 3.124.222.77: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."
If I disconnect from the VPN, then I am able to connect to the JVMMON and start remote debugging.
But I need to be in the VPN, because otherwise I am not able to connect to my on-premise system using Cloud Connector.
Any hints on how to start the remote debugging in Cloud Foundry over SSH while being at the same time in my company's VPN?
im using F5 VPN and it works fine.
cf <app_name> -c "export JAVA_PID=$(ps -C java -o pid=) && app/META-INF/.sap_java_buildpack/sapjvm/bin/jvmmon -pid $JAVA_PID -c \"stop debug\"" && ^
cf ssh <app_name> -c "export JAVA_PID=$(ps -C java -o pid=) && app/META-INF/.sap_java_buildpack/sapjvm/bin/jvmmon -pid $JAVA_PID -c \"start debug\"" && ^
cf ssh <app_name> -c "export JAVA_PID=$(ps -C java -o pid=) && app/META-INF/.sap_java_buildpack/sapjvm/bin/jvmmon -pid $JAVA_PID -c \"print debug\"" && ^
cf ssh <app_name> -N -T -L 8000:127.0.0.1:8000
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.