Merge pull request #13351 from hashicorp/ssh-doc-update

Added Documentation Comments for SSH Tunnel flags
pull/13353/head
tanmay-hc 11 months ago committed by GitHub
commit 1d02f14871
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -95,8 +95,12 @@
useful if, for example, packer hangs on a connection after a reboot.
Example: `5m`. Disabled by default.
- `ssh_remote_tunnels` ([]string) -
- `ssh_remote_tunnels` ([]string) - Remote tunnels forward a port from your local machine to the instance.
Format: ["REMOTE_PORT:LOCAL_HOST:LOCAL_PORT"]
Example: "9090:localhost:80" forwards localhost:9090 on your machine to port 80 on the instance.
- `ssh_local_tunnels` ([]string) -
- `ssh_local_tunnels` ([]string) - Local tunnels forward a port from the instance to your local machine.
Format: ["LOCAL_PORT:REMOTE_HOST:REMOTE_PORT"]
Example: "8080:localhost:3000" allows the instance to access your local machines port 3000 via localhost:8080.
<!-- End of code generated from the comments of the SSH struct in communicator/config.go; -->

Loading…
Cancel
Save