Bug 1880 - PermitOpen config lines beyond the first are ignored by sshd
Summary: PermitOpen config lines beyond the first are ignored by sshd
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 5.8p1
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 13:33 AEDT by RyanC
Modified: 2011-09-06 15:32 AEST (History)
2 users (show)

See Also:


Attachments
patch to fix the problem (718 bytes, patch)
2011-03-22 13:33 AEDT, RyanC
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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