centos修改默认22登录端口

117 阅读1分钟

1、vim /etc/ssh/sshd_config,找到port字段,修改为你想要的端口 2、重启ssh服务,service sshd restart