Merge pull request #11143 from marekbiskup/firewall-rule-syntax

fix firewall rule create syntax for gce
This commit is contained in:
Tim Hockin 2015-07-13 09:38:24 -07:00
commit 5d3b0c0540

View File

@ -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`.