[Bug 3813] "at" port filter in authorized_keys

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 17 13:34:09 AEST 2025


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

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
You can achieve this currently using "Match LocalPort" in sshd_config,
for example:

Match LocalPort 22
    RefuseConnection yes

Match LocalPort 10341
    ForceCommand /usr/local/bin/something

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list