Add support for non-compliant ssh wrappers

ssh wrappers like teleport's tsh do not correctly interpret the
double dash as an argument delimiter and will not work properly
with sshuttle. This PR adds a new command line switch to handle
these cases by not adding the delimiter.

Fixes #599
This commit is contained in:
Samir Aguiar
2024-07-01 23:42:51 -03:00
committed by Brian May
parent 6cdae8c3e5
commit 348f0eb653
5 changed files with 28 additions and 9 deletions

View File

@ -181,6 +181,13 @@ Options
in a non-standard location or you want to provide extra
options to the ssh command, for example, ``-e 'ssh -v'``.
.. option:: --no-cmd-delimiter
Do not add a double dash (--) delimiter before invoking Python on
the remote host. This option is useful when the ssh command used
to connect is a custom command that does not interpret this
delimiter correctly.
.. option:: --seed-hosts
A comma-separated list of hostnames to use to