Skip to content
Advertisement

Tag: google-compute-engine

Unable to connect to SSH on Google Cloud VM Instance

I have run into a problem today where I am unable to connect via SSH to my Google Cloud VM instance running debian-10-buster. SSH has been working until today when it suddenly lost connection while docker was running. I’ve tried rebooting the VM instance and resetting, but the problem still persists. This is the serial console output on GCE, but

how to set variable name for google cloud instance

PROB_INSTANCE_NAME=INSTANCE_NAME not working C:UsersHPAppDataLocalGoogleCloud SDK>PROB_INSTANCE_NAME=lamp-1-vm ‘PROB_INSTANCE_NAME’ is not recognized as an internal or external command, operable program or batch file. C:UsersHPAppDataLocalGoogleCloud SDK>set PROB_INSTANCE_NAME=lamp-1-vm C:UsersHPAppDataLocalGoogleCloud SDK>gcloud compute instances stop “$PROB_INSTANCE_NAME” ERROR: (gcloud.compute.instances.stop) HTTPError 400: Invalid value ‘$PROB_INSTANCE_NAME’. Values must match the following regular expression: ‘a-z?’ i am using google gcloud tool on the desktop. trying to install Linux guest environment by

Advertisement