Collaborate on terminal sessions with multiple users simultaneously, with view-only or full control modes.
What is Terminal Collaboration?
Rexec allows you to share your terminal sessions with teammates in real-time. Think Google Docs, but for terminal sessions — see each other’s cursors, selections, and command execution live.Key Features
Real-Time Sharing
Multiple users see the same terminal output simultaneously.
Access Control
Choose between view-only or full control modes.
Share via Link
Send a shareable link — no account required for viewers.
Participant Tracking
See who’s connected with color-coded cursors.
Starting a Collaboration Session
From the Dashboard
- Open any terminal (cloud or agent)
- Click the Share icon in the top-right corner
- Choose sharing mode:
- View - Others can watch but not type
- Control - Others can execute commands
- Set optional limits:
- Max users (1-10)
- Duration (15min to 24hrs)
- Click “Create Share Link”
Collaboration sessions automatically expire after the configured duration for security.
Getting the Share Link
After creating a session:- Share this link with your team
- No Rexec account required to join (viewer mode)
- Link expires after session duration
Collaboration Modes
View-Only Mode
Viewers can:
- Watch all terminal output in real-time
- See command execution
- Scroll through history independently
- Type commands
- Send input
- Interrupt running processes
- Live demos and presentations
- Training and onboarding
- Debugging assistance (watch over shoulder)
Control Mode
All participants can:
- Execute commands
- Edit files
- Run programs
- Stop/restart processes
- Ability to end session
- Permission to kick users
- Original terminal access after session ends
- Pair programming
- Collaborative debugging
- DevOps incident response
- Teaching and mentoring
Joining a Shared Session
As a Viewer (No Account)
- Click the shared link:
https://rexec.io/join/ABC123 - Enter your name (optional)
- Click “Join Session”
- Terminal appears in read-only or control mode
As a Rexec User
If you’re logged in:- Click shared link
- Auto-authenticated with your account
- Your role depends on session mode
- Session appears in your dashboard under Shared Sessions
Participant Management
Active Participants
See all connected users in the sidebar:Roles
| Role | Permissions |
|---|---|
| Owner | Full control + can end session + can remove users |
| Editor | Full control (control mode only) |
| Viewer | Read-only access |
Removing Users
As the session owner:- Click participant name in sidebar
- Select “Remove from session”
- User disconnected immediately
Session Limits
By Tier
| Tier | Sessions | Max Duration | Max Users per Session |
|---|---|---|---|
| Free | 1 active | 1 hour | 2 users |
| Pro | 5 active | 24 hours | 5 users |
| Enterprise | Unlimited | Unlimited | 20 users |
Duration Settings
Choose when creating session:Sessions auto-close when duration expires or when owner ends them manually.
Security & Privacy
Authentication
- Viewers (No Account)
- Authenticated Users
- Access via share code only
- Expires with session
- No data persistence
Data Handling
- Terminal output - Not recorded unless recording enabled separately
- Participant info - Stored during session only
- Share links - Invalidated after expiration
MFA Protection
For terminals with MFA enabled, participants must authenticate before joining.
- Go to terminal settings
- Enable “Require MFA for shared sessions”
- Participants prompted for MFA token on join
Practical Examples
Example 1: Live Debugging Session
Example 2: Pair Programming
Example 3: Training Session
Managing Active Sessions
View All Sessions
From dashboard:- Active Sessions - Currently shared terminals
- Joined Sessions - Sessions you’ve joined from others
Ending a Session
As owner:- Click “End Session” in terminal header
- Or click Stop on session card in dashboard
- All participants disconnected
- Terminal returns to private mode
Cursor & Selection Tracking
Visual Indicators
See collaborators’ activity:- Red cursor - Alice
- Blue cursor - Bob
- Green cursor - Charlie
Cursor Modes
- Following
- Independent
Auto-scroll to keep owner’s cursor in view.
Click “Follow” to enable.
Integration with Other Features
Session Recording
Enable recording during collaboration:
- Start recording before/during session
- All participants’ input captured
- Replay shows multi-user activity
SSH Access
Shared sessions work with SSH-connected terminals:
- Share an SSH-connected terminal
- Participants use web interface
- Owner can still use native SSH
Troubleshooting
Participants can't join session
Participants can't join session
Causes:
- Session expired (check duration)
- Max users reached
- Invalid share link
- Create new session
- Increase max users
- Copy fresh share link
High latency or lag
High latency or lag
Causes:
- Poor network connection
- Too many participants
- Very fast command output
- Check participant network
- Reduce number of viewers
- Use
lessor pagination for large output
Control mode not working
Control mode not working
Causes:
- Session started in view mode
- Terminal locked with MFA
- Permission conflict
- Recreate session with control mode
- Authenticate with MFA
- Check terminal permissions
Best Practices
Security
- Use view mode for untrusted participants
- Set short durations (1-2 hours) for sensitive work
- Enable MFA on production terminals
- End sessions promptly when done
Performance
- Limit to 5 or fewer participants for smooth experience
- Use pagination (
less,more) for large output - Avoid rapid-fire commands that flood output
Communication
- Use voice/video chat alongside for context
- Narrate actions in view mode
- Take turns typing in control mode
API Integration
Programmatic Session Creation
End Session
Related Features
Cloud Terminals
Create shared cloud terminals
BYOS Agent
Share agent-connected servers
Session Recording
Record collaborative sessions
SSH Access
Combine SSH with web collaboration