[Bug 3072] Some options silently ignored in Host specifications in ssh_config

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Sep 21 18:30:39 AEST 2019


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

Jaak Ristioja <jaak+mindrot at ristioja.ee> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
            Summary|Some options ignored in     |Some options silently
                   |Host specifications in      |ignored in Host
                   |ssh_config                  |specifications in
                   |                            |ssh_config
             Status|NEW                         |RESOLVED

--- Comment #2 from Jaak Ristioja <jaak+mindrot at ristioja.ee> ---
Thank you! Your suggestion seems to work. :)

It seems that I missed what the ssh_config man page says in the
beginning:

     For each parameter, the first obtained value will be used. /.../

     Since the first obtained value for each parameter is used, more
host-specific declarations should be given near the beginning of the
file, and general defaults at the end.

General defaults at the end of the file was not intuitive for me. I
wish there was a warning when the options are ignored, but given the
configuration file format it seems there is no good way to implement
such so that the change wouldn't bother anyone.

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


More information about the openssh-bugs mailing list