修改ssh登录端口

171 阅读1分钟

打开配置文件

vim /etc/ssh/ssh_config

修改port

Port

重启ssh服务生效

systemctl restart sshd