- Open file:
/etc/ssh/sshd_config
- Find:
#Port 22
- Replace:
Port 7777
- Stop firewall and reboot:
View more: https://monovm.com/blog/how-to-chang...ort-on-centos/Mã nguồn PHP:
cd
echo 0 > /selinux/enforce
setenforce 0
sudo systemctl stop firewalld
sudo systemctl disable firewalld
sudo systemctl mask --now firewalld
reboot
cd