[Bug 2766] support "--" to disambiguate option and non-option arguments

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Aug 26 12:29:13 AEST 2017


https://bugzilla.mindrot.org/show_bug.cgi?id=2766

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Blocks|                            |2698
                 CC|                            |djm at mindrot.org
             Status|NEW                         |RESOLVED

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
I fixed this a couple of weeks ago.

commit 643c2ad82910691b2240551ea8b14472f60b5078
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sat Aug 12 06:46:01 2017 +0000

    upstream commit

    make "--" before the hostname terminate command-line
    option processing completely; previous behaviour would not prevent
further
    options appearing after the hostname (ssh has a supported options
after the
    hostname for >20 years, so that's too late to change).

    ok deraadt@

    Upstream-ID: ef5ee50571b98ad94dcdf8282204e877ec88ad89


Referenced Bugs:

https://bugzilla.mindrot.org/show_bug.cgi?id=2698
[Bug 2698] Tracking bug for OpenSSH 7.6 release
-- 
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