File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
.web-docs/components/builder/classic Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,13 @@ The `builder_communicator` has the following options:
297297 useful if, for example, packer hangs on a connection after a reboot.
298298 Example: ` 5m ` . Disabled by default.
299299
300- - ` ssh_remote_tunnels ` ([ ] string) -
300+ - ` ssh_remote_tunnels ` ([ ] string) - Remote tunnels forward a port from your local machine to the instance.
301+ Format: [ "REMOTE_PORT:LOCAL_HOST: LOCAL_PORT "]
302+ Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
301303
302- - ` ssh_local_tunnels ` ([ ] string) -
304+ - ` ssh_local_tunnels ` ([ ] string) - Local tunnels forward a port from the instance to your local machine.
305+ Format: [ "LOCAL_PORT:REMOTE_HOST: REMOTE_PORT "]
306+ Example: "8080:localhost:3000" allows the instance to access your local machine’s port 3000 via localhost:8080.
303307
304308<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->
305309
You can’t perform that action at this time.
0 commit comments