sed -i ‘s/Port 22/Port 1024/g’ /etc/ssh/sshd_config然后重启ssh服务service sshd restart这样就大功告成了。 本文共 14 个字数,平均阅读时长 ≈ 1分钟