There was a problem loading the comments.

Change SSH Port - CentOS 7

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
  • 3 December 2015 6:24 AM

In order change SSH port to non-default in CentOS 7.x, please follow below steps:

1) yum -y install policycoreutils-python
2) semanage port -a -t ssh_port_t -p tcp 2244

3) firewall-cmd --permanent --zone=public --add-port=2244/tcp
4) firewall-cmd --reload


Share via
Did you find this article useful?  

Related Articles

Tags

© Softsys Hosting