[CentOS] Running SSH on a different port (with SELinux)

Jorge Fábregas jorge.fabregas at gmail.com
Sun Oct 25 20:12:21 UTC 2009

On Sunday 25 October 2009 03:06:58 pm Ned Slider wrote:
> The SSH daemon runs as an unconfined service in SELinux (at least on
> RHEL4 and 5), so SELinux has no effect on SSH. Same as a bash shell runs
> unconfined.

Thanks Ned!  That's it.   I missed the following check:

# ps -eZ | grep sshd
root:system_r:unconfined_t:SystemLow-SystemHigh 6161 ? 00:00:00 sshd

It cleary shows "unconfined_t" for sshd.

Thanks again!

All the best,

More information about the CentOS mailing list