快速更改linux ssh端口 sed -i 's/#Port/Port/' /etc/sshd/sshd_configsed -i '/Port/a Port 18822' /etc/sshd/sshd_configsystemctl restart sshd Other 2023-08-26 115 点赞 1 评论 174 浏览