How To Centos Change SSH Port
Through this video, You can learn step by step how to change the ssh port on centos 6, 7, and 8 on REGXA very easily and quickly.
# sudo yum -y install firewalld
# systemctl start firewalld
# sudo yum -y install policycoreutils-python-utils
# sudo yum -y install net-tools
# sudo yum -y install nano
# nano /etc/ssh/sshd_config
For Saving # CTRL+X
For Confirmation # y
For Completing # Enter = Save
# semanage port -l | grep ssh
# sudo semanage port -a -t ssh_port_t -p tcp 3223
# sudo firewall-cmd --add-port=3223/tcp --permanent
# sudo firewall-cmd --reload
# sudo systemctl restart sshd
Congratulations! You have successfully changed the ssh port. Try Centos today on VPS hosting from REGXA.COM.