JAEN

Cloud

gcloud compute ssh

CautionSSH to GCE

gcloud compute ssh <instance> --zone <zone>

SSHes into a Compute Engine instance (keys managed for you).

Examples

  • gcloud compute ssh web01 --zone asia-northeast1-aConnect to a GCE VM

Syntax

gcloud compute ssh <instance> --zone <zone>

Before you run it

Connects to live hosts; act carefully.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store