快速更改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 46 点赞 0 评论 69 浏览