Bug 1880

Summary: PermitOpen config lines beyond the first are ignored by sshd
Product: Portable OpenSSH Reporter: RyanC <kvhwyucjkp>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WONTFIX    
Severity: normal CC: djm, kvhwyucjkp
Priority: P2    
Version: 5.8p1   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch to fix the problem none

Description RyanC 2011-03-22 13:33:03 AEDT
When sshd starts up, it parses all the PermitOpen lines but ignores any after the first one.
Comment 1 RyanC 2011-03-22 13:33:47 AEDT
Created attachment 2019 [details]
patch to fix the problem
Comment 2 Damien Miller 2011-05-06 12:03:23 AEST
"first match wins" is normal practice for sshd_config parsing. You can specify multiple permitopens on a single line separated by whitespace.
Comment 3 Damien Miller 2011-09-06 15:32:59 AEST
close resolved bugs now that openssh-5.9 has been released