[CentOS] CentOS 6.5 equivalents in CentOS 7

Thu Oct 30 03:10:53 UTC 2014
Peter <peter at pajamian.dhs.org>

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