标签:远端端口修改
Centos8如何修改SSH端口
首先我们打开sshd_config(注意:不是ssh_config) [root@localhost ~]#vi /etc/ssh/sshd_config 在#Port 22下 添加一行 Port 2020 —-自己随机选择一个 wq!保存 检查2020端口有没有在防火墙放行 [root@localhost ~]# firewal……
09-10 立刻查看
首先我们打开sshd_config(注意:不是ssh_config) [root@localhost ~]#vi /etc/ssh/sshd_config 在#Port 22下 添加一行 Port 2020 —-自己随机选择一个 wq!保存 检查2020端口有没有在防火墙放行 [root@localhost ~]# firewal……