23
votes

how to ssh into nodes of Google container engine cluster? When i try ssh to the node using its ip address it says public key denied.

Can some one help me how to get the key to connect to nodes of google container cluster?

1
Can you share some more details? How do you try to connect via ssh (pure ssh command, gcloud ssh command, via GCP WebUI)? Also, please provide us with the output and errors.ihor_dvoretskyi

1 Answers

43
votes

You should use gcloud tool e.g:

gcloud compute ssh <NODE_NAME> --zone <ZONE>