Skip to content

Conversation

@skuhl
Copy link
Contributor

@skuhl skuhl commented Dec 30, 2020

When users put parameters in a config file and pass them to sshuttle
using '@', they might copy the quotes from the command line into the
config file. This fix first ensures that we strip whitespace from the
beginning/end of each line in the config file. Then, if the line
begins and ends with a matching quote character, strip those too.

Fixes #573.

When users put parameters in a config file and pass them to sshuttle
using '@', they might copy the quotes from the command line into the
config file. This fix first ensures that we strip whitespace from the
beginning/end of each line in the config file. Then, if the line
begins and ends with a matching quote character, strip those too.

Fixes sshuttle#573.
@brianmay brianmay merged commit 563f414 into sshuttle:master Dec 30, 2020
@skuhl skuhl deleted the sshuttle-conf-quotes branch March 9, 2021 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quoted or single quoted -e or --ssh-cmd fails in the configuration file

2 participants