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