Skip to content

Instantly share code, notes, and snippets.

@michaelwsherman
Last active April 5, 2019 00:07
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/64d2d746c66f6811bd94d37719a880f5 to your computer and use it in GitHub Desktop.
Save michaelwsherman/64d2d746c66f6811bd94d37719a880f5 to your computer and use it in GitHub Desktop.
Create a firewall rule to allow SSH.
gcloud compute firewall-rules create allow-ssh \
--allow=tcp:22 \
--priority=0 \
--description='Open port 22 for SSH.' \
--target-tags=ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment