GCP - Your platform does not support SSH

By xngo on August 28, 2021

Issue

When running gcloud compute ssh --project=PROJECT_ID --zone=ZONE VM_NAME, I got the following error message:

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

Solution

That message means SSH client is not installed on your computer. So, just install it.

apt-get install openssh-client

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.