Skip to content

Commit b5c11f3

Browse files
authored
Merge pull request #142 from hashicorp/fix_docs
fix(docs): make generate
2 parents 7d281bd + 795f336 commit b5c11f3

File tree

1 file changed

+6
-2
lines changed
  • .web-docs/components/builder/classic

1 file changed

+6
-2
lines changed

.web-docs/components/builder/classic/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)