On 07/13/17 08:39, Rick Stevens wrote:
> On 07/12/2017 05:28 PM, Ed Greshko wrote:
>> On 07/13/17 08:23, Samuel Sieb wrote:
>>> On 07/12/2017 05:15 PM, Ed Greshko wrote:
>>>> And if you're running selinux in enforcing mode you'll need to generate a 
>>>> policy to
>>>> allow sshd to bind to the chosen port.
>>> You don't have to generate a policy, it's really easy.  Assuming port 222, 
>>> just do:
>>> semanage port -a -t ssh_port_t -p tcp 222
>>>
>> Yes, you can do that as well.
>> The point is, you need to make a selinux change.
> Ah, yes, I forgot about selinux. D'oh!

And, I should also mention that in most cases I prefer to create my own 
policies for
changes made to selinux for the simple reason that I have a bad memory for 
things I
do infrequently.  So, if I create a policy with a good descriptive name I have a
better chance of recalling what I did to make something work.  :-) :-)

-- 
Fedora Users List - The place to go to speculate endlessly

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to