How to change sshd default port on firewalld

  Instead of messing around with the ports directly with RHEL7/CentOS7 firewall-cmd, I’ve decided to update the port number in the ssh.xml service file instead. Think it’s cleaner this way. For example, here are the steps to change sshd port from the default 22 to 9876: 1. Make a copy of the default ssh service […]