(Finally) found the time to report it to OpenSSH: https://bugzilla.mindrot.org/show_bug.cgi?id=3169 Thanks, Paride, Seth and Simon, for your help.
** Bug watch added: OpenSSH Portable Bugzilla #3169 https://bugzilla.mindrot.org/show_bug.cgi?id=3169 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1876320 Title: Port parameter sshd_config is 22 AND whatever you specify To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1876320/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs