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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Poelstra wrote:
> 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.

Simplest way:

 * run system-config-selinux;
 * click on Network Port;
 * look up the SELinux Port Type for port 22 (the normal SSH port); 
 * click on add;
 * enter the appropriate port number and SELinux Type.

If you want a command line equivalent, then try 
semanage port -a -t ssh_port_t -p tcp 344
(I haven’t tried this one, but it’s only lightly modified from the
semanage man page).

Hope this helps,

James.

-- 
E-mail:     james@ | Bond films are about seducing beautiful girls, gadgets,
aprilcottage.co.uk | and defeating supervillains who never seem to learn that
                   | the way to deal with James Bond is simply to shoot him.
                   |     -- Professor Steven Dutch
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux