[Bug 2858] New: sshd -T requires -C when "Match" is used in sshd_config

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Apr 15 07:04:53 AEST 2018


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

            Bug ID: 2858
           Summary: sshd -T requires -C when "Match" is used in
                    sshd_config
           Product: Portable OpenSSH
           Version: 7.7p1
          Hardware: Other
                OS: OpenBSD
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: simon at sdeziel.info

On a freshly installed OpenBSD 6.3, I copied sshd_config from OpenBSD
6.2 and now "sshd -T" now complains like this:

root at fw63:~# sshd -T                        
'Match User' in configuration but 'user' not in connection test
specification.

Removing the match directive make it work. If I keep the match, adding
"-C 'user=foo,addr=::1'" is required. According to the man page, -C is
supposed to be optional and it was indeed the case on older releases.

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


More information about the openssh-bugs mailing list