Proposal: Option to escape/quote individual COMMAND arguments

Michael Schwarz michi.schwarz at gmail.com
Sun Jul 21 02:06:30 AEST 2024


> On 2024-07-20, at 15:49, Marian Beermann <public at enkore.de> wrote:

> The main hurdle is that the ssh client doesn't know what the login shell
> of the user on the server is, but you need to know that to correctly escape
> for the shell at hand. (And not all servers are even Unix-like).

My viewpoint is certainly centered around Unix-like systems.

> The real/proper fix is and always would've been a separate request type
> that's essentially just doing an execvp and simply wouldn't be supported
> by servers/systems which can't do that (notably Windows).

That definitely sound like a more thorough solution. So then that might just as well be my proposal. :)


More information about the openssh-unix-dev mailing list