I'm running centos 7.3 with LAMP After changing my ssh port in /etc/ssh/sshd_config I have run
semanage port -a -t ssh_port_t -p tcp <my port>
But its kicking out the following error
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
SELinux: Could not downgrade policy file /etc/selinux/targeted/policy/policy.30, searching for an older version.
SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.30: No such file or directory
/sbin/load_policy: Can't load policy: No such file or directory
libsemanage.semanage_reload_policy: load_policy returned error code 2. (No such file or directory).
OSError: No such file or directory
Im running a cloud storage on this server and what to get rid of the default port 22 before I start throwing work on it :(
any ideas ?