Modifying SELinux port for SSHD
Recently I wanted to change the port for the SSH daemon (running on a Fedora 10 install), however, SELinux got in the way. After looking at these posts, I found that the following would allow me to run sshd on port 222.
semanage port -m -t ssh_port_t -p tcp 222
On my rather slow server, it took about three minutes to update. To confirm that the change was made, I ran the following command:
semanage port -l | grep ssh