Running ssh on unreserved ports
On 02/18/2011 04:07 PM, Alex wrote:
> I'd like to run an ssh server as root on a port greater than 1024
> instead of the normal 22 but selinux doesn't seem to like that. How
> can I get around that?
> I'd like to move it to a higher port to avoid the normal doorknob
> rattling that occurs with ssh running on a public server.
Does this work for you (assumign 1234 is what you want to listen on)
semanage port -a -t ssh_port_t -p tcp 1234
users mailing list
To unsubscribe or change subscription options: