快速更改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 152 点赞 2 评论 230 浏览