Re: CentOS 6.5 equivalents in CentOS 7

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



yes, so I just figured out. Thank you so much. Where does `semanage` come
from? I tried policycoreutils-python but it cannot be found.

On Wed, Oct 29, 2014 at 8:10 PM, Peter <peter@xxxxxxxxxxxxxxxx> wrote:

> On 10/30/2014 03:41 PM, Jason T. Slack-Moehrle wrote:
> > Soo I changed my ssh port in sshd_config and did: systemctl restart
> >  sshd.service.
> ...
> > and I get a connection:refused.
>
> selinux is set to only allow sshd to listen on port 22, you need to do
> something like:
> semanage port -a -t ssh_port_t -p tcp 2222
>
>
> Peter
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux