Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I am running below command to connect to google compute instance:

gcloud compute ssh example-instance

I am getting error message below:

ERROR: (gcloud.compute.ssh) Your platform does not support OpenSSH.

Can someone please help me in this regard.

Thanks

Try updating your local Cloud SDK and run ssh command again. To update the Google Cloud SDK use the following command:

gcloud components update

I tried running gcloud compoenents update but still getting the same error: C:\Program Files (x86)\Google\Cloud SDK>gcloud components update All components are up to date. C:\Program Files (x86)\Google\Cloud SDK>gcloud compute ssh example-instance ERROR: (gcloud.compute.ssh) Your platform does not support OpenSSH. shankarsh15 May 7, 2016 at 12:05 Actually, I want to create a Kubernetes Cluster on it and expose a Micro service on the cluster through a Docker Image. Trying for sometime now but not able to get through. Your help in this regard will be greatly appreciated. shankarsh15 May 7, 2016 at 12:30 @shankarsh15 where are running the 'gcloud compute ssh' command from? what is your OS? Did you try to ssh into the instance from the cloud console? George May 9, 2016 at 14:20 I am running 'gcloud compute ssh' command from windows 8.1 (google cloud SDK shell which is installed on a machine when we install google cloud SDK. As you suggested I tried running ssh directly from cloud console after logging into Google Cloud Platform and its working fine. I am just wondering why it is not working directly from cloud SDK shell. shankarsh15 May 9, 2016 at 15:32

The error is pretty much self-explanatory. You need to install an OpenSSH to operate. Try installing OpenSSH. The guide for installing on Windows 10 is as follows: https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .