Xpra: Ticket #185: Better parsing for --ssh option

If you use some more sophisticated options for ssh (like ssh -o 'ProxyCommand? socat ...') the simple splitting by split() leads to wrong parsing, because it doesn't deal with nested quotings and the like.

Better would be using split() from shlex package. Please see the attached patch.

Thu, 20 Sep 2012 08:08:09 GMT - Mike: attachment set

Thu, 20 Sep 2012 08:17:04 GMT - Antoine Martin: status changed; resolution set

thanks! applied in r1593

Mon, 19 May 2014 12:37:40 GMT - Antoine Martin: milestone changed; version deleted

(setting correct milestone the work was completed in)

Sat, 23 Jan 2021 04:47:51 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/185