Centos Base Command

Change SSH Port

vi /etc/ssh/sshd_config
uncomment : Port 22
firewall-cmd --add-port=22/tcp --permanent
firewall-cmd --reload
systemctl restart sshd

Leave a Reply

Your email address will not be published. Required fields are marked *