need howto for SELinux config--ssh on non-standard port

inode0 inode0 at gmail.com
Thu Jan 7 03:25:37 UTC 2010


On Wed, Jan 6, 2010 at 8:39 PM, John Poelstra <poelstra at redhat.com> wrote:
> John Poelstra said the following on 01/06/2010 06:29 PM Pacific Time:
>>
>> I'm running sshd on a high (>1024) port number and cannot find a clear
>> step by step guide for configuring this correctly on Fedora 12 on
>> google.... I've come across lots of random bugs and forum questions, but
>> nothing that starts at the beginning of the process through the end.
>
> Clarification... I've got ssh running fine... it is the SELinux part I can't
> figure out :)

May be better ways to deal with it but here is generally what I do:

grep sshd /var/log/audit/audit.log | audit2allow -M mySshdPort

check mySshdPort.te for sanity and if sane

semodule -i mySshdPort.pp

to install the module created above.

John




More information about the fedora-list mailing list