[Bug 3288] Ignoring comments at end of config file lines broke ProxyCommand with #-sign in script

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Jun 4 13:52:47 AEST 2021


Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
   Attachment #3489|0                           |1
        is obsolete|                            |
             Status|NEW                         |ASSIGNED
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org

--- Comment #5 from Damien Miller <djm at mindrot.org> ---
Created attachment 3528
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3528&action=edit
Use a better tokeniser for ssh/sshd_config parsing

I plan to commit this soon - it switches ssh_config and sshd_config
parsing to the argv_split() tokeniser, and gives this tokeniser the
ability to terminate when it encounters an unquoted '#' character.

This should fix this bug, but also improve quote handling in
configuration files generally. Note that the tokeniser is not used for
command-line arguments (e.g. ProxyCommand), so there should be no
behaviour change there other than fixing the '#' truncation regression.

You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list