Add support for SSHUTTLE_ARGS environment variable

This commit is contained in:
Alex Jurkiewicz
2023-08-09 09:50:34 +08:00
committed by Brian May
parent 3c3f5de672
commit 0ddebdeee6
2 changed files with 22 additions and 1 deletions

View File

@ -321,6 +321,18 @@ annotations. For example::
192.168.63.0/24
Environment Variable
--------------------
You can specify command line options with the `SSHUTTLE_ARGS` environment
variable. If a given option is defined in both the environment variable and
command line, the value on the command line will take precedence.
For example::
SSHUTTLE_ARGS="-e 'ssh -v' --dns" sshuttle -r example.com 0/0
Examples
--------