Skip to content

Instantly share code, notes, and snippets.

@michaelwsherman
Last active April 8, 2019 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelwsherman/5fa418d1d76661762047b437da4180c5 to your computer and use it in GitHub Desktop.
Save michaelwsherman/5fa418d1d76661762047b437da4180c5 to your computer and use it in GitHub Desktop.
Remove the SSH tag from a VM.
export INSTANCE_NAME="my-instance"
export ZONE="us-west1-b"
gcloud compute instances remove-tags $INSTANCE_NAME \
--zone=$ZONE \
--tags=ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment