Added Documentaion Comments for SSH Tunnel flags

pull/13351/head
Tanmay Jain 11 months ago
parent 35eed086c1
commit fe92097451

@ -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