Steer GitHub Copilot CLI Sessions Remotely from Any Device…
    Neura MarketNeura Market/Stable Diffusion
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityStable DiffusionStable Diffusion
    DeepSeekDeepSeekCoPilotCoPilotMidjourneyMidjourney
    View All Directories
    OverviewPromptsBlogVideosGuidesCoursesCommunityModelsLoRAsComfyUI WorkflowsTrending
    Stable DiffusionBlogSteer GitHub Copilot CLI Sessions Remotely from Any Device
    Back to Blog
    Steer GitHub Copilot CLI Sessions Remotely from Any Device
    githubcopilot

    Steer GitHub Copilot CLI Sessions Remotely from Any Device

    Marcel.L April 15, 2026
    0 views

    Start a Copilot CLI session on your workstation, then monitor and steer it from the browser or your phone.


    title: Steer GitHub Copilot CLI Sessions Remotely from Any Device published: true description: 'Start a Copilot CLI session on your workstation, then monitor and steer it from the browser or your phone.' tags: 'githubcopilot, ai, tutorial, devops' cover_image: 'https://raw.githubusercontent.com/Pwd9000-ML/blog-devto/main/posts/2026/GitHub-Copilot-CLI-Remote-Access/assets/main.png' canonical_url: null id: 3505628 series: GitHub Copilot - CLI date: '2026-04-15T14:27:00Z'

    Steer GitHub Copilot CLI Sessions Remotely from Any Device

    You kick off a complex refactoring task in Copilot CLI, then realise you need to leave your desk. Maybe it is time for lunch, a meeting just started, or you simply want to keep an eye on progress from your phone while you are on the couch. Until now, walking away from your terminal meant walking away from your session.

    That changed on 13 April 2026 when GitHub shipped remote access for Copilot CLI sessions in public preview. You can now start a session on your workstation and pick it up, monitor it, and steer it from GitHub.com or GitHub Mobile, all in real time.

    If you have been following the GitHub Copilot series, you will know we have covered the CLI in depth in the Copilot CLI Practical DevOps Guide. This post focuses entirely on the new remote access capability, how to enable it, what you can do with it, and how to make it work smoothly for everyday developer workflows.


    What Is Copilot CLI Remote Access?

    In a nutshell, remote access lets you stream a running Copilot CLI session to GitHub so you can interact with it from any browser or from the GitHub Mobile app.

    AspectDetail
    StatusPublic preview (April 2026)
    Available onGitHub.com, GitHub Mobile (iOS beta via TestFlight, Android beta via Google Play)
    Who can use itCopilot Individual, Business, and Enterprise users (policy must be enabled for org/enterprise seats)
    Session privacyOnly the account that started the session can view or interact remotely
    Output limit60 MB of session output streamed to the remote interface

    The local CLI session continues to run on your machine. Remote access simply gives you a window into that session from another device. All shell commands, file operations, and tool executions remain local.


    Prerequisites

    Before you can use remote access, make sure you have the following in place.

    1. Latest Copilot CLI version

    Make sure you are running the latest version of Copilot CLI. Inside an interactive session, use the /update slash command:

    /update
    

    2. A GitHub repository

    Your working directory must contain a Git repository hosted on GitHub.com. If you try to enable remote access outside a GitHub repository, the CLI will display:

    Remote session disabled: not in a GitHub repository
    

    3. Policy enabled (organisation and enterprise users)

    For users with a Copilot seat from an organisation, the Remote Control policy must be enabled by an enterprise or organisation owner. This policy is off by default.

    Note: Individual Copilot subscribers (Pro, Pro+) can use remote access without any additional policy configuration.

    Organisation owners can enable the policy under:

    Organisation Settings > Copilot > Policies > Remote Control

    For enterprise-level policy management, see the GitHub docs on administering Copilot CLI.

    4. An interactive session

    Remote access is only available for interactive sessions. It is not available when you use the CLI programmatically with the --prompt command-line option, for example when using the CLI in a script.

    5. Machine must stay online

    The CLI session must be actively running on a machine with an internet connection. If the machine goes to sleep or loses connectivity, remote access is unavailable until it comes back online. We will cover how to handle this with the /keep-alive command later in this post.


    How to Enable Remote Access

    There are three ways to enable remote access, depending on your workflow preference.

    Option A: The /remote slash command (mid-session)

    Already in an interactive session? Simply type:

    /remote
    

    The CLI connects to GitHub.com and displays:

    • A URL in the format https://github.com/OWNER/REPO/tasks/TASK_ID that you can open in any browser.
    • A QR code you can scan with your phone to jump straight into GitHub Mobile.

    Enabling remote access with the /remote command

    Option B: The --remote flag (at startup)

    If you know ahead of time that you want remote access, start your session with the flag:

    copilot --remote
    

    Remote access details are displayed as soon as the interactive session starts. You can redisplay them at any time by typing /remote.

    Option C: Always-on configuration

    If you always want remote access enabled, add this to your Copilot configuration file (typically ~/.copilot/config.json):

    {
      "remoteSessions": true
    }
    

    Every interactive session will now start with remote access enabled automatically. To override for a specific session, use:

    copilot --no-remote
    

    Tip: The command-line options --remote and --no-remote always take precedence over the remoteSessions setting in the configuration file.


    Accessing Your Session from GitHub.com

    Once remote access is enabled, you have two ways to reach the session on the web.

    Use the direct link

    The CLI displays a URL when remote access is enabled. Open it in any browser and sign in with the same GitHub account that started the session.

    Use the Copilot sidebar

    1. Click the hamburger menu (top-left corner) on GitHub.com.
    2. Click Copilot.
    3. Under Recent agent sessions, find and click your CLI session.

    Accessing a remote CLI session from GitHub.com

    The web interface shows the full session history in real time. You can scroll through output, read Copilot's responses, and interact exactly as you would in the terminal.


    Accessing Your Session from GitHub Mobile

    Remote sessions also appear in the GitHub Mobile app. This is particularly useful for quick check-ins and approving permission requests while you are away from your desk.

    Finding your session

    1. Open GitHub Mobile.
    2. Tap the Copilot button in the bottom-right corner.
    3. Your session appears under Agent sessions. Tap it to open.

    Using a QR code for quick access

    If you are at your terminal and want to quickly open the session on your phone:

    1. Type /remote in the CLI to redisplay the session details.
    2. Press Ctrl+E to toggle the QR code display.
    3. Scan the QR code with your phone's camera.

    Scanning the QR code to open the session on mobile

    Note: Mobile access is currently only available in the latest beta release of GitHub Mobile. Join via Apple TestFlight for iOS or Google Play for Android.


    What You Can Do Remotely

    The remote interface is not a read-only dashboard. It is a full steering wheel. Here is what you can do from GitHub.com or GitHub Mobile:

    ActionDescription
    Respond to permission requestsApprove or deny tool, file path, and URL permission requests
    Answer questionsRespond when Copilot asks for more information or a decision
    Approve or reject plansRespond to plan approval prompts in plan mode
    Submit new promptsType new questions or instructions, just like in the terminal
    Switch modesChange between interactive, plan, and autopilot mode
    Cancel workEnd the agent's current operation

    Both the local terminal and the remote interface are active simultaneously. You can type in either, and Copilot uses whichever response arrives first.

    Note: Slash commands such as /allow-all are not currently available from the remote interface.


    Keeping Your Machine Awake with /keep-alive

    One of the most practical additions alongside remote access is the /keep-alive slash command. It prevents your machine from going to sleep while you are steering the session remotely.

    Usage options

    CommandBehaviour
    /keep-alive onPrevents sleep while the CLI session is active
    /keep-alive offAllows normal sleep behaviour
    /keep-alive busyPrevents sleep only while Copilot is actively working. Once the agent completes a task, the machine can sleep normally
    /keep-alive 30mPrevents sleep for 30 minutes
    /keep-alive 8hPrevents sleep for 8 hours
    /keep-alive 1dPrevents sleep for 1 day
    /keep-aliveDisplays the current keep-alive status

    The busy option is particularly useful. It keeps the machine awake while Copilot is processing but lets it sleep once Copilot finishes and is waiting for input.


    Reconnection and Resuming Sessions

    Temporary disconnections

    If the network drops temporarily, the remote interface reconnects automatically once connectivity is restored. The local session is completely unaffected by network interruptions.

    Resuming a closed session

    If you close a CLI session that had remote access enabled, the CLI displays a resume command:

    copilot --resume=SESSION_ID --remote
    

    You can also resume the most recent session with:

    copilot --continue --remote
    

    If you have "remoteSessions": true in your configuration file, you can omit the --remote flag when resuming:

    copilot --continue
    

    Important: When you resume a session, you must re-enable remote access (either via the --remote flag or the configuration file setting). Remote access does not persist automatically across session restarts.


    A Practical Walkthrough

    Here is a real-world scenario that demonstrates how remote access fits into a developer workflow.

    Step 1: Start a session with remote access

    You are at your workstation and want to refactor a Terraform module. Start the session with remote access:

    cd ~/repos/my-infra
    copilot --remote
    

    The CLI displays the session URL and QR code.

    Step 2: Give Copilot the task

    Refactor the networking module to use for_each instead of count for subnet
    creation. Update all references in the root module and ensure the plan shows
    no destructive changes.
    

    Copilot starts analysing the codebase and building a plan.

    Step 3: Leave your desk

    You have a meeting in five minutes. Before leaving, type:

    /keep-alive busy
    

    This ensures the machine stays awake while Copilot is working.

    Step 4: Monitor from your phone

    During the meeting, open GitHub Mobile and tap into your session. You can see Copilot's progress in real time. When it asks for plan approval, tap Approve right from your phone.

    Step 5: Steer from the browser

    Back at your desk (or from any computer), open the session link in a browser. Copilot has finished the refactoring and is asking whether to run terraform plan. Type your approval in the web interface.

    Step 6: Review the results

    Check the output in the web interface or switch back to your terminal. Both show the same session state.


    Security and Privacy

    Remote access has been designed with security in mind. Here are the key points:

    • Session-specific URLs. Each session gets a unique URL that only works for the authenticated user who started it.
    • No direct machine access. Remote access does not grant any access to your machine beyond what the CLI agent can do within the session. All operations run through the Copilot CLI's existing permission model.
    • Policy controls. Organisation and enterprise administrators can disable remote access entirely through the Remote Control policy.
    • Events streamed, not stored. Session events (messages, tool executions, permission requests) are streamed from your machine to GitHub for the remote interface. The CLI continues to run locally.

    Tips and Best Practices

    Here are some practical tips for getting the most out of remote access.

    1. Use /keep-alive busy as your default. It prevents your machine from sleeping while Copilot works, but lets it rest once the agent is idle. This is the best balance between availability and power consumption.

    2. Start with copilot --remote rather than adding it mid-session. This ensures the session is remotely accessible from the very first prompt, so you never miss a permission request.

    3. Set remoteSessions: true in your config if you use this regularly. It removes the need to remember the flag, and you can always override with --no-remote for local-only sessions.

    4. Bookmark the Copilot sidebar on GitHub.com. Navigate to the Copilot page and bookmark it. This gives you one-click access to all your recent sessions without needing to remember URLs.

    5. Use the QR code for mobile. It is faster than searching for the session in the app, especially when you are in a hurry.

    6. Be mindful of the 60 MB output limit. Very long-running sessions that generate large amounts of output may see reduced performance in the remote interface. The local terminal remains unaffected.


    Conclusion

    Remote access for Copilot CLI sessions solves a genuine pain point. Long-running tasks no longer tie you to your terminal. You can start a complex refactoring, infrastructure deployment, or code review task, walk away, and continue steering it from your browser or phone.

    The feature is in public preview right now. Give it a try with copilot --remote and see how it fits into your workflow. If you are an organisation or enterprise user, ask your admin to enable the Remote Control policy so your team can start using it.

    For more details, check the official documentation:

    • About remote access to Copilot CLI sessions
    • Steering a Copilot CLI session from another device
    • GitHub changelog announcement

    Author

    {% user pwd9000 %}

    Like, share, follow me on: :octopus: GitHub | :penguin: X | :space_invader: LinkedIn

    Date: 15-04-2026

    Tags

    githubcopilotaitutorialdevops

    Comments

    More Blog

    View all
    Context bankruptcy: The case for strategic forgetting for AI Agentsai

    Context bankruptcy: The case for strategic forgetting for AI Agents

    Most of us have seen a coding agent fail to complete a task we know it can do. We just don't...

    J
    James O'Reilly
    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestrationgooglecloud

    Parallel Compliance Engine: Drive-to-Sheets Multi-Agent Orchestration

    When building Generative AI applications, developers often encounter a massive bottleneck: sequential...

    A
    Aryan Irani
    Is It Ethical to Post and Ask About Circuits on Dev.to?discuss

    Is It Ethical to Post and Ask About Circuits on Dev.to?

    I’ve been thinking about sharing some electronic circuit posts on Dev.to — small circuits, DIY...

    C
    codebunny20
    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limitsagents

    The One-Click Exporter: AI Studio Antigravity, Probed to Its Limits

    What nobody tells you about exporting your multi-agent prototype to a local workspace. Every...

    L
    leslysandra
    Guarding the till while autonomous data agents do the diggingagenticarchitect

    Guarding the till while autonomous data agents do the digging

    Autonomous agents are genuinely good at answering messy business questions. Give one an LLM and a set...

    S
    Sireesha Pulipati
    Return on Attention: Why AI Code Reviews Are Wearing Us Outai

    Return on Attention: Why AI Code Reviews Are Wearing Us Out

    PR volume went up, ticket quality didn't, and the gap got filled with LLMs on both sides of the review: bots reviewing, bots replying, bots occasionally arguing with bots about priorities that only existed in a teammate's head. Our CEO named the actual problem, and it's bigger than code review.

    C
    christine

    Stay up to date

    Get the latest Stable Diffusion prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Stable Diffusion and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Stable Diffusion resource

    • Automated HTTP Filter and Monitor for Stripe Checkout Sessionsn8n · $6.21 · Related topic
    • Get Stripe Custom Fields from Checkout Sessions APIn8n · $12.99 · Related topic
    • Customer Auth for Chat Support: OpenAI + Redis Sessionsn8n · $24.99 · Related topic
    • Transfer Google Analytics Sessions by Country to Airtablen8n · $11.99 · Related topic
    Browse all workflows