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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store