PowerShell / Win32-OpenSSH

Win32 port of OpenSSH
7.2k stars 740 forks source link

Prevent system sleep during active session #2182

Open segevfiner opened 7 months ago

segevfiner commented 7 months ago

Summary of the new feature / enhancement

Similar to remote desktop, keeping the system from idle sleeping while an SSH session is in progress.

Due to modern standby, this might prove difficult as modern standby simply ignores power requests in many cases and even when it does, it often turns off the network. So even tools like PowerToys awake are unable to help.

Proposed technical implementation details (optional)

No response

mgkuhn commented 4 months ago

See also #1712