gcloud compute ssh

From wikieduonline
Revision as of 19:46, 8 July 2026 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

gcloud compute ssh (doc)

gcloud compute ssh --zone "europe-west6-a" "your-vm" --project "your-project"
WARNING: The private SSH key file for gcloud does not exist.
WARNING: The public SSH key file for gcloud does not exist.
WARNING: You do not have an SSH key for gcloud.
WARNING: SSH keygen will be executed to generate a key.
Generating public/private rsa key pair.
Enter passphrase for "~/.ssh/google_compute_engine" (empty for no passphrase):


External IP address was not found; defaulting to using IAP tunneling.

Example[edit]

gcloud compute ssh --zone "europe-west3-c" "your-instance-name"  --project "your-project"

Related[edit]

See also[edit]

Advertising: