Session invites and moderated sessions
Two ways to put a second pair of eyes on a session: invite someone from outside into a live session with a link, or require a moderator to join before a session may start at all.
Which one do you need
| Session invite | Moderated session | |
|---|---|---|
| Who acts | An admin, on a session that is already running | A moderator, before the session starts and while it runs |
| Who joins | Someone outside the console (a colleague at a partner, a specialist), signed in with Captivo ID | An admin or operator of your own workspace |
| Set per | One live session | A resource (always, for everyone who opens it) |
| Typical use | "Come and look at this with me" | Four eyes on a production database host or a firewall |
Session invites
An admin invites one person into one live session, to watch it or to watch and take control. The guest gets a link, signs in with Captivo ID under the invited e-mail address, and sees only that session, nothing else of your workspace.
As the admin: invite someone
- Open Operate → Sessions and click Watch on the running session. Invitations are in the Invited guests panel of the watch window.
- Click Invite someone and fill in the form:
| Field | Choices | Notes |
|---|---|---|
| name@company.com | The guest must sign in with exactly this address. | |
| They can | Watch / Watch and take control | Watch is view only. |
| For | 15 minutes / 1 hour / Until the session ends | "Until the session ends" still stops after 12 hours, as every session does. |
- Click Create invite. If a mail server is set up (e-mail settings) the link is sent to the guest; otherwise the console says Mail isn't set up, so send the guest this link yourself and shows the link with a Copy button. The link is shown only until it is used, withdrawn or expired.
- The list shows each guest as Not joined yet or Joined, and whether they may take control. Withdraw cancels an invite that is not used; Remove throws out a guest who joined, at once.
As the guest: join
- Open the link. The page Join a live session says who invited you, to which session, what you may do and how long it lasts.
- Click Sign in with Captivo to join and sign in under the invited address. No Captivo account yet? You can create one on the way. Captivo ID is used even if the workspace has its own SSO provider; a self-hosted console falls back to its own provider.
- You land in the live view. A bar shows whose session it is, whether you are view only, the time left, and "Recorded"; your e-mail is tiled faintly across the picture so a screenshot shows whose view it was.
- With the control permission you can take control and give it back. If an admin takes control, the bar says "An admin has control".
Rules worth knowing
- One use, one browser. The link works once; after sign-in the guest's browser holds a pass (a host-only cookie, ca_guest) that is valid for that session alone. Opening the link a second time says "This invite was already used".
- The address must match. A different Captivo address is refused ("signed in under a different address"); an unverified Captivo address must be verified first.
- Admin over guest only. An admin who takes control always wins over a guest holding it.
- The user is told. The person in the session sees a notice naming the guests, for example "This session is being watched live by Dana Reed (guest)", and who holds control.
- What can be invited into. Browser sessions to remote desktop, SSH and VNC resources, and recorded own-client SSH and RDP sessions. Not isolated browsers, web apps or database sessions, and not unrecorded own-client sessions (they cannot be watched).
- The session ending, the invite running out or Remove closes the guest's views; they see "The session has ended", "Your invite has expired" or "An administrator removed you from this session".
Policy settings
Both live in Infrastructure → Policy, section Session controls (see Policies):
- Session invitations: on by default. Off, nobody can invite and existing passes stop being honoured.
- Two-step verification for invited guests: off by default. On, the guest's Captivo ID sign-in must include a second factor; otherwise they are told to turn it on in their Captivo account and try again. It is greyed out while invitations are off.
Note that Invite link lifetime (Access & grants) is for people invited to the console, not for session invites.
Moderated sessions (four eyes)
On a moderated resource nobody can open a session alone. The user asks, a moderator admits the request and watches, and the user's keyboard and mouse work only while a moderator is watching. It applies to everyone who opens the resource, vendors included.
Set it up
- In Infrastructure → Resources open the resource (a remote desktop or SSH resource) and switch on Requires a moderator. Chip on the resource: Moderator required.
- In Infrastructure → Policy → Session controls choose Who can moderate: Admins and operators (default) or Admins only.
- Make sure at least two people qualify (see limits below).
As the user: start a session
- Open the resource in the browser. The screen reads Four-eyes session and Waiting for a moderator, with a countdown: the request lasts 10 minutes. Moderators get an e-mail (if access-request e-mails are on), a push to the mobile app and a badge on Operate → Sessions.
- When a moderator joins, the session connects. Stop waiting withdraws the request; after a decline or timeout use Ask again.
- While the moderator watches you work normally. If they leave, a banner says Waiting for the moderator. Your keyboard and mouse are paused until they are watching with a 2-minute countdown; what you see stays visible. If nobody comes back, the session ends.
With your own SSH app (recorded native SSH)
For a resource that also allows your own SSH app, the SSH dialog first shows Waiting for a moderator. The command appears only after a moderator admits the session, and it starts one connection that the moderator watches. Run it within the time shown:
# the command the dialog shows after admission (values are examples)
ssh -J <code>@access.example.com:2222 -o HostKeyAlias=captivo-recorded.access.example.com ops@db01.corp.exampleAdmission is used once and must be used within 2 minutes. Only recorded own-SSH sessions can be moderated, because the moderator watches through the recording path; an unrecorded one is refused with "This resource needs a moderator, who can only watch a recorded session. Use Open in the browser."
As the moderator: admit and watch
- Open Operate → Sessions. The panel Waiting for a moderator lists each request: user, resource, Browser session or Own SSH app, recorded, how long it has waited and when it ends.
- Click Join as moderator (or Decline). The row shows Starting the session...; the user's session then opens in a watch window.
- Keep the window open. Closing it pauses the user's input; the session then ends 2 minutes later unless a moderator joins. The card of such a session shows MODERATED, No moderator watching and a countdown.
- Another moderator can click Moderate on that card to take over, for example when you have to leave. The previous moderator is replaced.
Who can moderate, and what a moderator can do
- Admins always; operators too when Who can moderate is Admins and operators. Auditors and staff cannot.
- Nobody moderates their own session: the console refuses it (a moderator cannot admit their own request).
- An operator who moderates a session may message its user, take control and end that session. An operator may not invite guests or revoke grants; those stay with admins.
- Several people can have been asked; the first to click wins, the others see "Someone else already answered this request".
Limits
- no_moderators. If nobody besides the user may moderate (no other active admin or operator), the request is refused at once and the screen says Nobody can moderate this resource; contact your Captivo admin. Fix it by adding another admin or operator under People → Users, or widen Who can moderate.
- Browser sessions (remote desktop, SSH, VNC) and recorded own-client SSH only. Own-client RDP and unrecorded own-client SSH are refused on a moderated resource.
- Not available for isolated browsers, web apps, databases, tunnels or Kubernetes resources.
- A request waits 10 minutes; an admission must be used within 2 minutes; without a moderator watching, a running session ends after 2 minutes.
- The user cannot choose the moderator; any qualifying person may answer.
What the audit log shows
Entries appear in Operate → Audit, in the admin chain:
| Action | When |
|---|---|
| session_invite.create | An admin invited someone (e-mail, watch or control, expiry, whether it was mailed) |
| session_invite.revoke | An invite was withdrawn or a guest removed |
| session_invite.take_control / release_control | A guest took or gave back control; the actor is guest:<invite id> |
| session.moderate | A moderator admitted a request |
| session.moderate_decline | A moderator declined it |
| session.moderate_takeover | A moderator took over a running session |
Everything a guest sees and does is part of the session's recording. The recording page lists Invited guests (name, address, when they joined, who invited them) for the session's time window; see Recording and watching.
Common problems
- No Invite someone button. Session invitations are off in Policy, the workspace has no sign-in provider for guests, the session is an isolated browser, web app, database or unrecorded own-client session, or you are not an admin.
- "This session already has 5 invites open". Withdraw or remove one first.
- The guest is stuck at sign-in. They used another address, have not verified their Captivo e-mail, or the guest two-step switch is on and they have no second factor. The link is spent only after a successful sign-in, so they can retry.
- The user's session froze on a moderated resource. The moderator closed the watch window. Reopen it, or another moderator clicks Moderate, within 2 minutes.
- Vendors and grants are covered in Vendor access.