DOCUMENTATION

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 inviteModerated session
Who actsAn admin, on a session that is already runningA moderator, before the session starts and while it runs
Who joinsSomeone outside the console (a colleague at a partner, a specialist), signed in with Captivo IDAn admin or operator of your own workspace
Set perOne live sessionA 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
Policy: session invitations and who can moderate.

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

  1. Open Operate → Sessions and click Watch on the running session. Invitations are in the Invited guests panel of the watch window.
  2. Click Invite someone and fill in the form:
FieldChoicesNotes
E-mailname@company.comThe guest must sign in with exactly this address.
They canWatch / Watch and take controlWatch is view only.
For15 minutes / 1 hour / Until the session ends"Until the session ends" still stops after 12 hours, as every session does.
  1. 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.
  2. 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.
Only admins invite. The form needs a running session and the workspace's Policy must allow it; if not, the panel says why ("Session invitations are turned off in Policy", or no sign-in provider for guests). A session can have at most 5 open invites.

As the guest: join

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. In Infrastructure → Resources open the resource (a remote desktop or SSH resource) and switch on Requires a moderator. Chip on the resource: Moderator required.
  2. In Infrastructure → Policy → Session controls choose Who can moderate: Admins and operators (default) or Admins only.
  3. Make sure at least two people qualify (see limits below).
The resource form warns you: with nobody able to moderate, users cannot start a session at all; with exactly one person, that person cannot use the resource themselves, because nobody moderates their own session. A moderated resource also cannot offer password check-out.

As the user: start a session

  1. 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.
  2. When a moderator joins, the session connects. Stop waiting withdraws the request; after a decline or timeout use Ask again.
  3. 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:

bash
# 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.example

Admission 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

  1. 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.
  2. Click Join as moderator (or Decline). The row shows Starting the session...; the user's session then opens in a watch window.
  3. 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.
  4. 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:

ActionWhen
session_invite.createAn admin invited someone (e-mail, watch or control, expiry, whether it was mailed)
session_invite.revokeAn invite was withdrawn or a guest removed
session_invite.take_control / release_controlA guest took or gave back control; the actor is guest:<invite id>
session.moderateA moderator admitted a request
session.moderate_declineA moderator declined it
session.moderate_takeoverA 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.

Was this article helpful?