From ce89749ea28cdcf435ec63c19dd6c28596c8959e Mon Sep 17 00:00:00 2001 From: Yanbing Date: Sat, 12 Jan 2019 23:09:06 -0800 Subject: [PATCH] Updated Remote command line escaping rules (markdown) --- Remote-command-line-escaping-rules.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Remote-command-line-escaping-rules.md b/Remote-command-line-escaping-rules.md index 4a4079d..b10ebc7 100644 --- a/Remote-command-line-escaping-rules.md +++ b/Remote-command-line-escaping-rules.md @@ -1,13 +1,13 @@ OpenSSH follow the below rules to determine if the " and \ in shell arguments are escaped or not -| DefaultShell | DefaultShellEscapeArguments |ShellPath is double quoted |" and \ are escaped in arguments| -|---|--|--|--| +| DefaultShell | DefaultShellEscapeArguments | Path to default shell is double quoted |" and \ in arguments are escaped| +|--|--|--|--| | powershell | value is ignored| yes | yes | | bash | value is ignored | Yes | Yes| | cygwin | value is ignored | Yes | Yes | | cmd.exe | value is ignored | Yes | No | | ssh-shellhost.exe | value is ignored | Yes | No | -| Other custom shells | 1, not set | Yes | Yes | -| Other custom shells | 0 | Yes | No| +| shells other than above | 1, not set | Yes | Yes | +| shells other than above | 0 | Yes | No| Please refer to [DefaultShell](https://github.com/PowerShell/Win32-OpenSSH/wiki/DefaultShell) for setting DefaultShell and DefaultShellEscapeArguments. \ No newline at end of file