Skip to content

Commit b17ee8b

Browse files
authored
Merge pull request #311 from hashicorp/doc-fix
Make generate
2 parents 077c453 + 6366bfa commit b17ee8b

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • .web-docs/components/builder/googlecompute

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

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

0 commit comments

Comments
 (0)