Google Cloud SSH using gcloud command line

To get SSH access to a Google Compute VM using gcloud command line tool, run

gcloud compute --project "PROJECT_NAME_JERE" ssh --zone "ZONE_HERE" "VM_NAME_HERE"

To list all instances, run

gcloud compute instances list

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *