Manage sessions
Websh sessions let you keep your terminal connections alive even if you close your browser. You can reconnect anytime and even share sessions with team members for real-time collaboration.
Create a session
Start a new terminal session:
- Go to Websh page
- Click New session button
- Select your server and choose:
- Websh - Connect as your user
- Websh as root - Connect with root privileges (requires additional authentication)
- Terminal opens in new tab
Your session is now active and will stay alive even if you close the tab.
Reconnect to a session
Sessions stay active in the background. If your browser closes or you accidentally close the terminal tab, just reconnect.
How to reconnect:
- Go to Websh page
- Find your session in the list
- Click Connect button
- Terminal reopens right where you left off
When you might need this:
- Browser crashed or was closed
- Terminal tab was accidentally closed
- Page was refreshed
- Network connection dropped temporarily
End a session
When you’re done working, properly close your session.
From terminal:
exit
From Websh page:
- Find the session card
- Click Close button
Share sessions
Need someone to help debug an issue? Share your terminal session so they can see what you’re seeing - or even type commands with you.
Share with URL and password
As the session owner:
- Click the Share icon (arrow) on session card or in terminal
- Click One-time access link
- Configure sharing:
- Toggle Read-only if you want viewers only (no command execution)
- Keep it off for full collaboration
- Copy the Share URL and Password
- Send both to your teammate
Important notes:
- Share info is shown only once - copy it immediately
- Link expires in 30 minutes (can extend up to 3 hours)
- Generate a new link after expiration
As the invited person:
- Open the share URL in browser
- Enter the password
- Terminal opens with live view of the session
- If read-only: You can see everything but can’t type commands
- If full access: You can type commands alongside the session owner
Share by email
As the session owner:
- Click Share icon on session
- Select Invite by email
- Enter email addresses (multiple allowed)
- Click Invite
The invited users receive an email with:
- Share URL
- Password
- Direct link to join
As the invited person:
- Check your email for the invitation
- Click the link or copy the URL
- Enter password from email
- Join the session
Use cases for session sharing
Debugging together: Share your session when investigating an issue. Your teammate can see exactly what you’re seeing and suggest commands to run.
Training new team members: Let junior team members observe how you work on production servers. Use read-only mode so they can watch safely.
Getting help: Stuck on a problem? Share your session with a senior engineer. They can see the error messages and help fix it in real-time.
Pair programming: Work on server configuration or scripts together. Both people can type commands and see results instantly.
Session timeout
Inactive sessions close automatically to save resources.
Default timeout: Varies by workspace settings
Configure timeout:
- Go to Workspace settings
- Find Websh session timeout
- Set from 15 minutes to 24 hours
Note: Longer timeouts may increase your workspace costs.
Tips
Keep sessions organized: Name your sessions clearly when creating them. “prod-web-debug” is better than “session-1”.
Close unused sessions: Don’t leave sessions running indefinitely. Close them when done to keep your session list clean.
Use read-only for demos: When showing something to multiple people, use read-only sharing so only you can execute commands.
Extend share links when needed: If a 30-minute session isn’t enough for a long troubleshooting session, extend it to the maximum before sharing.