当前位置:首页 > 常用攻略

关闭debian自动休眠 Debian休眠怎么解决

时间:2025-02-12 15:01   浏览:211   发布部门:信息中心

debian系统会进行自动休眠,在运行段时间后,无法进行ssh远程登陆。

解决方案: 关闭相应的服务即可解决问题

查看状态 systemctl status sleep.target

关闭休眠 systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

再查看状态 systemctl status sleep.targe

4ec2d5628535e5dd1a19341bcc1f8ae2cf1b6220.webp