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
- gcloud compute instances listList GCE
- sshRemote shell
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