Answer: Use the /keep-alive slash command to prevent your machine from going to sleep during a GitHub Copilot CLI remote session. In an interactive session, enter /keep-alive OPTION, where OPTION can be on, off, busy, or a duration like 30m, 8h, or 1d. Status: Confirmed Entry: tool/github-copilot/troubleshooting/prevent-sleep Revision: 2 Digest: sha256:5ef7f7191702c9a1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:24:58Z Last changed: 2026-11-17T13:20:20Z (bare number default: — → minutes) Last verified: 2026-11-20T13:03:45Z Next check: 2026-11-21T13:03:45Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command | /keep-alive | [1] | 2026-11-20 option on | on | [1] | 2026-11-20 option off | off | [1] | 2026-11-20 option busy | busy | [1] | 2026-11-20 duration options | NUMBERm , NUMBERh , or NUMBERd | [1] | 2026-11-20 bare number default | minutes | [1] | 2026-11-20 Sources: [1] GitHub. "Steering a GitHub Copilot CLI session from another device - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/steer-remotely Role: primary. Accessed: 2026-11-20T13:03:45Z Quote: "You can use the /keep-alive slash command to prevent your machine from going to sleep." (Supports: command) Quote: "on : Prevents the machine from going to sleep while the CLI session is active." (Supports: option on) Quote: "off : Allows the machine to go to sleep as normal." (Supports: option off) Quote: "busy : Prevents the machine from going to sleep only while Copilot is working on a task." (Supports: option busy) Quote: "NUMBERm , NUMBERh , or NUMBERd (for example, 30m , 8h , 1d ): Prevents the machine from going to sleep for a specific number of minutes, hours, or days." (Supports: duration options) Quote: "If a bare number is provided without a suffix, it is treated as minutes." (Supports: bare number default) Snapshot SHA-256: 015c823306aff00c88934704bd23d36289d5c5cff870faef9f7ba3984350f779 (captured 2026-11-18T12:58:09Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:58:11Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:03:45Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:03:45Z Last attempt: 2026-11-20T13:03:45Z Notes and limitations: Extracted automatically from a single official source (section "Preventing your machine from going to sleep"). Related: https://latestn.com/tool/github-copilot/troubleshooting/proxy-vpn-firewall-settings How do I check proxy, VPN, and firewall settings that may be slowing down GitHub Copilot? https://latestn.com/tool/github-copilot/troubleshooting/rate-limit-example-prompt What example prompt can I use to get GitHub Copilot to help debug API rate limit errors? https://latestn.com/tool/github-copilot/troubleshooting/reload-extension How do I reload an edited GitHub Copilot CLI extension? https://latestn.com/tool/github-copilot/troubleshooting/network-connectivity-logs How do I view GitHub Copilot network connectivity diagnostics logs? https://latestn.com/tool/github-copilot/troubleshooting/network-errors How do I fix network errors when using GitHub Copilot? https://latestn.com/tool/github-copilot/troubleshooting/oauth-limitations What are the limitations of using GitHub OAuth with the GitHub Copilot SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T13:20:20Z | changed | bare number default: — → minutes | [1] 2026-11-17T13:20:20Z | changed | duration options: — → NUMBERm , NUMBERh , or NUMBERd | [1] 2026-11-17T13:20:20Z | changed | duration example: 30m → — | [1] 2026-11-13T03:24:58Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/troubleshooting/prevent-sleep/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/troubleshooting/prevent-sleep POST: https://latestn.com/dispute/tool/github-copilot/troubleshooting/prevent-sleep with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/troubleshooting/prevent-sleep?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I prevent my machine from going to sleep during a GitHub Copilot CLI remote session? Revision 2, last verified 2026-11-20T13:03:45Z. https://latestn.com/tool/github-copilot/troubleshooting/prevent-sleep (accessed 2026-11-21T09:53:45Z). @misc{LatestN_tool_github_copilot_troubleshooting_prevent_sleep_r2, title = {How do I prevent my machine from going to sleep during a GitHub Copilot CLI remote session?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/troubleshooting/prevent-sleep}}, note = {Revision 2; digest sha256:5ef7f7191702c9a1; last verified 2026-11-20T13:03:45Z; accessed 2026-11-21T09:53:45Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/troubleshooting/prevent-sleep