search for: artoria2e5

Displaying 4 results from an estimated 4 matches for "artoria2e5".

2023 May 26
1
command [argument ...] in ssh(1): a footgun
...ell, so we simply don't have a universal escape method. The manual's DESCRIPTION section is a bit vague here: it does not specify which shell is used. In truth, session.c runs the user's shell via the `-c` option, not just the system POSIX shell via system(). Sincerely, Mingye Wang (Artoria2e5)
2023 May 26
1
command [argument ...] in ssh(1): a footgun
On Fri, 26 May 2023, Mingye Wang (Artoria2e5) wrote: > ssh(1) currently affords an argument-passing functionality, but as the manpage > states, all arguments are simply concatenated by space. How else would it do that? The arguments are processed by the shell first then passed as an array of NUL-terminated strings. > The modest pr...
2023 May 30
1
command [argument ...] in ssh(1): a footgun
On 27.05.23 00:08, Thorsten Glaser wrote: > On Fri, 26 May 2023, Mingye Wang (Artoria2e5) wrote: >> The less modest one is we throw out the "[argument ...]" part altogether. It > > Absolutely not. This will break about all uses of ssh in existence. You are confusing "ssh(1) does (not) distinguish between 'command' and 'argument(s)'" wi...
2023 May 27
2
command [argument ...] in ssh(1): a footgun
On Sat, May 27, 2023 at 12:08:43AM +0200, Thorsten Glaser <t.glaser at tarent.de> wrote: > On Fri, 26 May 2023, Mingye Wang (Artoria2e5) wrote: > > > ssh(1) currently affords an argument-passing functionality, but as the manpage > > states, all arguments are simply concatenated by space. > > How else would it do that? The arguments are processed by the > shell first then passed as an array of NUL-terminate...