Relay & sharing

Share a live terminal

Invite a teammate to view or collaborate in your live terminal session with end-to-end encryption.

3 min read User guide

Collaborate in real time

Live Share lets you invite a friend or teammate to watch—or help type in—your active terminal session in real time. Everything shown in the shared terminal is end-to-end encrypted before it leaves your device.

Before you start sharing, remember that even in Read-only mode, anyone you invite will be able to see the text on your terminal screen, so close any tabs showing private passwords or tokens first.

Start a Live Share session

  1. Open the terminal tab you want to share and click Share.
  2. Select Current Session.
  3. Choose Read-only if you just want people to watch, or Interactive if you want to let a teammate type commands too.
  4. Set an expiration time and decide whether each person needs your approval before joining.
  5. Click Start Sharing and send the invitation link (or scan the QR code) over a private message to the person you want to invite.

Live Share setup dialog showing read-only or interactive mode, relay mode, permission prompt toggle, expiry controls and 128-bit password

Manage who can watch and who can type

Everyone who joins starts out as a Viewer so nobody can accidentally type into your terminal right away. If you started an interactive session, click Grant control next to a participant's name to let them type, and click Reclaim control anytime to switch them back to viewing only.

Active Live Share host dialog showing 1 connected participant with granted controller access, QR code and invitation URL

When your teammate opens the invitation link, their Shared terminal shows the live session output, a clear badge indicating whether they are a Viewer or Controller, and a live cursor indicator.

Recipient Shared terminal view in Relay Mode showing Controller status, live Host cursor indicator and real-time encrypted terminal output

If you turn on Allow direct connection in the Share dialog, your devices can connect in Direct Mode over the local network or peer-to-peer while keeping full end-to-end encryption active.

Active Live Share session in Direct Mode with interactive participant control

The secret decryption key for your Live Share session is built right into the # part of the invitation link so it is never sent to a web server in plain text. Because anyone who has the full link can use that key to join an open room, treat the link like a password:

  • Send the link only to the specific people you want in the session.
  • Avoid pasting active invitation links into public tickets, screenshots or group chats.
  • Keep in mind that a visitor's display name in a relay link is typed by them—if you are working on a sensitive server, verify with your teammate before approving their join request.

Stop sharing when you are done

Click Revoke Access & Disconnect in the Share dialog as soon as your pairing session is finished. This immediately closes the shared room for all participants.

If you want to give a teammate ongoing access to connect to a server on their own schedule—even when your computer is closed—use delegated server access instead.

Features vary by release, platform and connection route. Check availability before planning your setup.

Search the guides

Search runs in your browser.

Your search stays here. No account or external search service.