Skip to content

Commit

Permalink
fix firewall rule create syntax for gce
Browse files Browse the repository at this point in the history
  • Loading branch information
marekbiskup committed Jul 13, 2015
1 parent 0c5b976 commit 3003b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started-guides/gce.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ If the Kubernetes startup script hangs waiting for the API to be reachable, you
If you're having trouble SSHing into your instances, ensure the GCE firewall
isn't blocking port 22 to your VMs. By default, this should work but if you
have edited firewall rules or created a new non-default network, you'll need to
expose it: `gcloud compute firewall-rules create --network=<network-name>
--description "SSH allowed from anywhere" --allow tcp:22 default-ssh`
expose it: `gcloud compute firewall-rules create default-ssh --network=<network-name>
--description "SSH allowed from anywhere" --allow tcp:22`

Additionally, your GCE SSH key must either have no passcode or you need to be
using `ssh-agent`.
Expand Down

0 comments on commit 3003b22

Please sign in to comment.