I’d like to use a non-standard port for ssh logins. When I change /etc/sshd_config so that Port nn is my new port I cannot even restart ssh.
I’ve been around Linux for some time but I have not had occasion to use either the firewall or selinux. So please don’t suggest I change either of these because frankly I don’t know how. I require details.
It also tells you how to set selinux to use that new port. That is most likely the reason why it failed to restart after being changed. Steps 3 and 4 address selinux and the firewall. Steps 2 and 5 address changing the ssh config and restarting it.