Highly customizable AutoSSH docker container.
Default: root
Specify the usename on the remote endpoint.
Required Tunnel Host
Specify the address (ip preferred) of the target.
Default: localhost
Specify the address (ip preferred) of the remote endpoint. (Default: localhost)
Required Local Port
Specify the port number on the target endpoint which will serve as the tunnel exit, or destination service. Typically this is ssh (port: 22), however, you can tunnel other services such as redis (port: 6379), elasticsearch (port: 9200) or good old http (port: 80) and https (port: 443).
Required Remote Port
Specify the port number on the remote endpoint which will serve as the tunnel entrance. (Default: random > 32768) If you do not want a new port every time you restart jnovack/autossh you may wish to explicitly set this.
This option reverses if you set SSH_MODE (see below). To bind a local forward tunnel to all interfaces, use an asterisk then the port desigation (e.g. *:2222).
Default: -L
Defines how the tunnel will be set up:
-R
is default, remote forward mode-L
means local forward mode
Default: -v
causes autossh to display its version number and exit.
Simon Baerlocher 💻 🤔 📖 |
This project is under the MIT License. See the LICENSE file for the full license text.
(c) 2020, sbaerlocher