| Summary: | PermitListen does not work in Match block and permitlisten= does not work in authorized_keys file | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Evgeny <evgeny.vasilchenko> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED INVALID | ||
| Severity: | major | CC: | dtucker, evgeny.vasilchenko |
| Priority: | P5 | ||
| Version: | 8.5p1 | ||
| Hardware: | amd64 | ||
| OS: | Linux | ||
|
Description
Evgeny
2021-03-10 19:23:43 AEDT
Are you sure you are running the new binary? Because... (In reply to Evgeny from comment #0) > * OpenSSH_8.5p1, OpenSSL 1.0.2k-fips 26 Jan 2017 built from sources: > ./configure --with-md5-passwords --with-pam --with-selinux > --with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh by default sshd is installed in /usr/local/sbin: $ ./configure --help [...] --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] and unless you changed the systemd unit file it's probably running the vendor supplied one in /usr/sbin. A quick test with 8.5p1 here seems to work with the fragment you quote: $ cat config Match User dtucker PermitListen localhost:5555 $ sudo `pwd`/sshd -f `pwd`/config -ddde -p 2022 2>&1 | grep -i permit debug3: reprocess config:2 setting PermitListen localhost:5555 Darren, you are right. It was a late night for me whan I've submitted the bug and I've missed this important part. Sorry. Ev. Glad it's working now! closing resolved bugs as of 8.6p1 release |