gcloud compute ssh

From wikieduonline
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: