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
- If you sign in somewhere else with the same account, the other window is
- After a long break you are signed out. Your sessions keep running; sign in
phone, use one of your recovery codes (each works once).
closed with a message — the session moves to where you are now.
again and their tabs come back.
Next: Starting a session →
03Starting a session

The list shows the resources your safes allow. Each entry is one account on one target system.
- Click Connect.
- Enter the reason — it is part of the session record, not a formality.
- If the account has no stored password, you are asked for one.
- The session opens in a tab.
What the small notices mean:
| Notice | Meaning |
|---|---|
| A session is still running on this account, nobody is connected | you (or someone) closed the window; connecting picks it up where it was left |
| Somebody is connected to it | the other view may end when you connect — depending on the target |
| This safe allows 1 session at a time and that limit is reached | close 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 account | no 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
- Disconnect ends the session.
- It also ends by itself: when the safe's time limit is reached, when an
comes back when you sign in again — that is how you continue on another device.
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.
05Watching a session (administrators)
Console → Sessions:
- Watch — the session in a browser tab. For RDP you see the gateway's
- Native watch — a real client instead of the browser:
- RDP: a participant seat; the dialog gives you server, token and an
- SSH: a one-time password; the dialog gives you
picture, for SSH the real terminal output.
xfreerdp command or a .rdp download for mstsc. Full quality, view only.
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
- Clipboard — text only, and only if the safe allows it. The history shows
- Sharing a folder with a Linux target: a folder with hundreds of entries takes
connect dialog and the transfer store of the server. Copy in both directions; a save over an existing name replaces it.
what you copied in the session and, if enabled, what you copied on your own computer.
a few seconds to list.
Next: Two-factor authentication →
07Two-factor authentication
2FA in the header of the portal:
- Set up an authenticator app — scan the QR code with the app on your phone,
- Write down the recovery codes — they are shown once. Each of them works
- Turn off removes the factor; it needs your password.
or type the key, then enter the six-digit code the app shows.
once, when the phone is not at hand.
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.
- Request access on the resource, with a reason and a duration.
- One or two other people have to approve.
- As soon as it is approved, the resource shows as available for the approved
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.