New oracle 7.1 install no changes what so ever.
Changed the ssh port in
/etc/ssh/sshd_conf
added the new port to the firewall
$ firewall-cmd --add-port 4567/tcp --permanent
and added the new file in /etc/firewalld/services/ssh.xml
Stopt and started sshd.service
the new port shows up but ...
rebooted but did not help
gave error
Sep 28 16:54:26 x systemd[1]: Stopping OpenSSH server daemon...
Sep 28 16:54:26 x systemd[1]: Starting OpenSSH server daemon...
Sep 28 16:54:26 x systemd[1]: Started OpenSSH server daemon.
Sep 28 16:54:26 x sshd[11307]: error: Bind to port 4567 on 0.0.0.0 failed: Permission denied.
Sep 28 16:54:26 x sshd[11307]: error: Bind to port 4567 on :: failed: Permission denied.
Sep 28 16:54:26 x systemd[1]: sshd.service: main process exited, code=exited, status=255/n/a
Sep 28 16:54:26 x systemd[1]: Unit sshd.service entered failed state.
Sep 28 16:54:38 x systemd[1]: Stopping OpenSSH server daemon...
Sep 28 16:54:38 x systemd[1]: Stopped OpenSSH server daemon.
Sep 28 16:57:38 x systemd[1]: Unit sshd.service cannot be reloaded because it is inactive.
I did not do chmod anywhere so no idea where the permission would be denied
When running
/usr/sbin/sshd -ddd
as root i can make external connections so firewall is definitly ok
thx a lot