Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

gardenctl ssh <gcp_node> fails with Cmd was unsuccessful #443

Closed
dansible opened this issue Nov 13, 2020 · 4 comments
Closed

gardenctl ssh <gcp_node> fails with Cmd was unsuccessful #443

dansible opened this issue Nov 13, 2020 · 4 comments
Assignees

Comments

@dansible
Copy link
Contributor

Describe the bug
gardenctl ssh <gcp_node> fails with Cmd was unsuccessful (using gardenctl/gctl-gcp cluster)

To Reproduce
Using 52235f2 with a test cluster gives:

$ go run cmd/gardenctl/main.go ssh shoot--gardenctl--gctl-gcp-gctl-gcp-z1-bb4d4-flzns

Warning:
Be aware that you are entering an untrusted environment!
Do not enter credentials or sensitive data within the ssh session that cluster owners should not have access to.

Downloaded id_rsa key
Check Public IP

(1/4) Fetching data from target shoot cluster
Cmd was unsuccessful
exit status 2

Gardenctl Version (please complete the following information):

@neo-liang-sap
Copy link
Contributor

/assign

@neo-liang-sap
Copy link
Contributor

seems working from my side - the only thing i need to do is connecting to PHILA VPN server as shanghai vpn server can't connect to google services....

image
image

@dansible
Copy link
Contributor Author

Unfortunately i'm still not able to have an ssh session succeed on GCP. Both on or off the Philiddelphia VPN, I get this:

$ go run cmd/gardenctl/main.go ssh shoot--gardenctl--gctl-gcp-gctl-gcp-z1-bb4d4-xkxp6

Warning:
Be aware that you are entering an untrusted environment!
Do not enter credentials or sensitive data within the ssh session that cluster owners should not have access to.

Downloaded id_rsa key
Check Public IP

(1/4) Fetching data from target shoot cluster
Cmd was unsuccessful
exit status 2

Debug mode (-d) does not provide any more info. This is the same with the released gardenctl (v0.23.1)

@dansible
Copy link
Contributor Author

Thanks @neo-liang-sap, I reinstalled my gcloud command line and was able to resolve the issue 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants