Latest Tech News

Stay updated with the latest in technology, AI, cybersecurity, and more

Filtered by: inhibit_pid Clear Filter

Keeping SSH sessions alive with systemd-inhibit

In my Home Lab network I use my desktop for most of my development. Since it’s a desktop and not a server it abides by the power policy setting I have selected. This works great unless I’m working a remote session from anything else such as my laptop, cell, etc. My usual workflow is just an ssh session with tmux, where I wake up the system by issuing a Wake on LAN (wol) from an always on server. After the typical timeout around 30 mins the system goes to sleep which drops the session and forces