PowerShell / PowerShell/Win32-OpenSSH

Prevent system sleep during active session

Open
#2,182 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Investigate Issue-Enhancement
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by investigating how an active SSH session could request that Windows prevent idle sleep, including the modern standby limitations described here; done should mean the system remains awake for the session without losing network connectivity.

Written by the indexing model from the issue text.

Assessment

Domain
networking, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.