修改ssh默認端口

修改ssh默認端口 1 . 登陸服務器,打開sshd_config文件web [root@centos ~]# vim /etc/ssh/sshd_config 2 . 找到#Port 22,默認是註釋掉的,先把前面的#號去掉,再插入一行設置成你想要的端口號,注意不要跟現有端口號重複vim ...... # If you want to change the port on a SELinux
相關文章
相關標籤/搜索