sshCode example
See original GitHub issueI’m using the following dev env:
$ cf dev version
PCF Dev version 0.23.0 (CLI: 474b3ba, OVA: 0.436.0)
$ cf -v
cf version 6.22.2+a95e24c-2016-10-27
By issuing cf ssh-code
using the cli, I get the code without problems but using the following java code:
CloudFoundryOperations cfOperations = DefaultCloudFoundryOperations.builder()
.cloudFoundryClient(cloudFoundryClient)
.uaaClient(uaaClient)
.organization(organization)
.space(space)
.build();
String sshCode = cfOperations.advanced().sshCode().block();
I get the following error:
java.lang.IllegalStateException: Parameter code not in URI https://uaa.local.pcfdev.io/login
I’d really appreciate a working example on the doc or a working snippet of code that I can use to reproduce the steps described at https://docs.cloudfoundry.org/devguide/deploy-apps/ssh-apps.html#other-ssh-access but using the java client.
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
coder/sshcode: Run VS Code on any server over SSH. - GitHub
sshcode is a CLI to automatically install and run code-server over SSH. It uploads your extensions and settings automatically, so you can seamlessly...
Read more >Remote Development using SSH - Visual Studio Code
Remote Development using SSH. The Visual Studio Code Remote - SSH extension allows you to open a remote folder on any remote machine,...
Read more >SSH Code Example: Public key authentication - n software
An example of how to perform public key authentication.
Read more >Accessing Apps with SSH | Cloud Foundry Docs
Query the /v2/info endpoint of the Cloud Controller in your deployment. · Run the following command: · Run cf ssh-code to obtain a...
Read more >19 Common SSH Commands in Linux With Examples
SSH command cheat sheet, including 19 popular Secure Shell commands to manage your remote server. Learn how to manage and navigate files in ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I hope you mean
2.4.0.BUILD-SNAPSHOT
😄indeed! 👍