Last active
April 5, 2019 00:07
-
-
Save michaelwsherman/64d2d746c66f6811bd94d37719a880f5 to your computer and use it in GitHub Desktop.
Create a firewall rule to allow SSH.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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