I tried to use a port other than 22 for sshd on Tumbleweed and failed.
Error message:
Mär 11 15:34:46 job6 sshd[1681101]: error: Bind to port 222 on 0.0.0.0 failed: Permission denied.
Mär 11 15:34:46 job6 sshd[1681101]: error: Bind to port 222 on :: failed: Permission denied.
Audit is quiet, I find no other hint on how to give me permission. Any ideas?
Firewall blocking the port won’t give a permission denied error. It is most likely SELinux if they have SELinux enabled and enforcing and they didn’t try to start sshd as a non-root user.
There are rules that are classified ‘dontaudit’ that won’t produce an audit log when violated. They are typically rules that would be insanely noisy or, like in this case, are properly handled by the administrator reading documentation for their service and properly configuring them.