SURROGATE User Guide

Working with Surrogate

User Guide

Installing, configuring and running Surrogate — and what a person does with it every day.

01About this book

Applies to Surrogate v0.6. For whoever works with Surrogate: signing in, opening a session, watching one, moving files.


Next: Signing in →

02Signing in

Open the address your administrator gave you (for example https://portal.example.com/portal/) and enter login, password and — if your account has one — the six-digit code from your authenticator app. All three in one form; the code field can stay empty if your account has no second factor.

  • With a second factor: the code changes every 30 seconds. If you lose the
  • phone, use one of your recovery codes (each works once).

  • If you sign in somewhere else with the same account, the other window is
  • closed with a message — the session moves to where you are now.

  • After a long break you are signed out. Your sessions keep running; sign in
  • again and their tabs come back.


Next: Starting a session →

03Starting a session

My resources
My resources

The list shows the resources your safes allow. Each entry is one account on one target system.

  1. Click Connect.
  2. Enter the reason — it is part of the session record, not a formality.
  3. If the account has no stored password, you are asked for one.
  4. The session opens in a tab.

What the small notices mean:

NoticeMeaning
A session is still running on this account, nobody is connectedyou (or someone) closed the window; connecting picks it up where it was left
Somebody is connected to itthe other view may end when you connect — depending on the target
This safe allows 1 session at a time and that limit is reachedclose the running one, or reconnect to it
The password of this account is being worked on by …someone is changing it right now; the login may fail until they are done
The administrator blocked the password of this accountno session can use it; ask an administrator

Next: Closing a session →

04Closing a session

  • The × on the tab closes only the view. The session keeps running and
  • comes back when you sign in again — that is how you continue on another device.

  • Disconnect ends the session.
  • It also ends by itself: when the safe's time limit is reached, when an
  • approval expires, or when the target closes the connection.

If the connection drops (wifi, laptop closed, power cut), simply sign in again: the tabs come back with the screen as you left it.


Next: Watching a session (administrators) →

05Watching a session (administrators)

Console → Sessions:

  • Watch — the session in a browser tab. For RDP you see the gateway's
  • picture, for SSH the real terminal output.

  • Native watch — a real client instead of the browser:
  • RDP: a participant seat; the dialog gives you server, token and an
  • xfreerdp command or a .rdp download for mstsc. Full quality, view only.

  • SSH: a one-time password; the dialog gives you
  • ssh -p 2222 -l <token> <host>. You see the terminal, your keystrokes are dropped.

Watching is recorded as session.view; the safe must allow live view. The user in front of the session is told that somebody is watching.


Next: Files and clipboard →

06Files and clipboard

  • Files — next to the session tab. It shows the folders you shared in the
  • connect dialog and the transfer store of the server. Copy in both directions; a save over an existing name replaces it.

  • Clipboard — text only, and only if the safe allows it. The history shows
  • what you copied in the session and, if enabled, what you copied on your own computer.

  • Sharing a folder with a Linux target: a folder with hundreds of entries takes
  • a few seconds to list.


Next: Two-factor authentication →

07Two-factor authentication

2FA in the header of the portal:

  1. Set up an authenticator app — scan the QR code with the app on your phone,
  2. or type the key, then enter the six-digit code the app shows.

  3. Write down the recovery codes — they are shown once. Each of them works
  4. once, when the phone is not at hand.

  5. Turn off removes the factor; it needs your password.

If your administrator requires a second factor and you have none, you are asked to set one up right after signing in.


Next: Asking for access (JIT) →

08Asking for access (JIT)

Some safes do not allow direct connections: you request access instead.

  1. Request access on the resource, with a reason and a duration.
  2. One or two other people have to approve.
  3. As soon as it is approved, the resource shows as available for the approved
  4. time — connect as usual.

You see your own requests and their state in the resource list; the administrators see them in the console.


Next: Frequently asked →

09Frequently asked

I was signed out although I was working. The login expires after 10 minutes without activity in the browser (5 in the console). Watching a log or a file list does not count — the session keeps running, sign in again.

My session disappeared in the office. Somebody signed in with your account elsewhere, or it reached its time limit. The session list in the console shows what happened.

The screen is black. For RDP the target may have closed the session (a client edition of Windows allows one per user), or the connection to the target is gone. Terminate the session and connect again.

I cannot paste. The safe does not allow the clipboard for this target.