[Bug 2624] New: ListenAddress and Port directives only accept a single value

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Oct 10 22:17:05 AEDT 2016


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

            Bug ID: 2624
           Summary: ListenAddress and Port directives only accept a single
                    value
           Product: Portable OpenSSH
           Version: 7.3p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: dnmvisser at gmail.com

There are several directives that allow multiple values to be
configured. This is mostly done by space or comma separating them.
The ListenAddress and Port directives however accept only a single
value.
In order to configure multiple values, the directive should be used
multiple times.

Consider AcceptEnv:

"Multiple environment variables may be separated by whitespace or
spread across multiple AcceptEnv directives".



If the configuration was done like AcceptEnv it would not break current
configs, and the inconsistency would be fixed.


FYI the reason I'm looking to have this patched is that my sshd_configs
are being constructed from a configuration management system that has
key->value pairs, so using multiple directives isn't possible. This
isn't a problem as almost all directives allow multiple values - except
the mentioned ones.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list