File tree Expand file tree Collapse file tree
.web-docs/components/builder/googlecompute Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -601,9 +601,13 @@ The GCS location must be writeable by the service account of the instance that P
601601 useful if, for example, packer hangs on a connection after a reboot.
602602 Example: ` 5m ` . Disabled by default.
603603
604- - ` ssh_remote_tunnels ` ([ ] string) -
604+ - ` ssh_remote_tunnels ` ([ ] string) - Remote tunnels forward a port from your local machine to the instance.
605+ Format: [ "REMOTE_PORT:LOCAL_HOST: LOCAL_PORT "]
606+ Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
605607
606- - ` ssh_local_tunnels ` ([ ] string) -
608+ - ` ssh_local_tunnels ` ([ ] string) - Local tunnels forward a port from the instance to your local machine.
609+ Format: [ "LOCAL_PORT:REMOTE_HOST: REMOTE_PORT "]
610+ Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
607611
608612<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
609613
You can’t perform that action at this time.
0 commit comments