Closed nodauf closed 1 year ago
Hey, thanks a lot for contributing!
Not sure if it works with multiple arguments, did you tried?
Nice catch. Indeed, it was not working. Now it should. I have tried with multiple arguments
It will not work if you have something like -a "--something 'a b c'"
. Use a library like shlex (it's archived but works well).
Ok I will give it a look and do this properly.
The last commit is now using shlex. The arguments are properly sent to ssh:
Fantastic ! Thanks ❤️
Add the option
-a
,--ssh-arguments
to directly pass arguments to the ssh command. I personally use this option mostly for port forwarding or configuring a ssh proxy socks.