SELinux allow non default SSH port

By default, SELinux only allows running SSH service on default port 22. For security, it is better to change the

Disable SELinux on CentOS/RHEL

Disable SELinux on CentOS/RHEL

To disable SELinux Method 1 Method 2 edit file Find Replace with Reboot the server with You can disable selinux

SELinux

SELinux

To disable SELinux, edit Now you need to reboot. If you don’t want to reboot, disable it for current session