Guide
Connect one of your computers
One of your computers (the Mac mini at home, an office PC, a Linux server) becomes a node in the graph. Agents with a wire see the folders you choose, take a file, put one there, and if you want run a command. The connection goes through Tailscale, a private network between your devices: the computer is not opened to the internet.
How it works
- The network is yours. The computer joins your Tailscale network, with your account. fractal joins it with an auth key you create, and revoke whenever you want.
- A dedicated user. On the computer you create a user just for fractal, e.g. «fractal». Agents get in as that user, so they only see what it sees: not your documents, photos or passwords.
- Allowed folders. In the node you choose the folders. Every path is checked on every call, and nothing gets out of them, not even with «..».
- One wire per action. Seeing and taking files, putting new ones (never overwriting), running commands: each is a wire you draw, from the graph, to an agent.
In Tailscale, once
From the Tailscale admin console (login.tailscale.com), with your account:
- Access controls: add two tags and the rule that lets fractal in only as the «fractal» user, only on the computers you choose.
If your file already has an"tagOwners": { "tag:fractal": ["autogroup:admin"], "tag:casa": ["autogroup:admin"] }, "ssh": [{ "action": "accept", "src": ["tag:fractal"], "dst": ["tag:casa"], "users": ["fractal"] }], "acls": [{ "action": "accept", "src": ["tag:fractal"], "dst": ["tag:casa:22"] }]"acls"section, just add the line inside it. - Machines: on the computer to connect, «Edit ACL tags» →
tag:casa. - Settings → Keys: «Generate auth key», reusable, tagged
tag:fractal. It's the key you'll paste into the node: keep it to yourself.
On a Mac
You need Tailscale's command-line version: the App Store app, and the one downloaded from the website, don't let anyone into the Mac (Tailscale SSH). If the app is installed, quit it first.
brew install tailscale
sudo brew services start tailscale
sudo tailscale up --ssh
Then System Settings → Users & Groups: a standard user «fractal». Put the files for the agents in its folders, e.g. /Users/fractal/Documents.
On Linux
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up --ssh
sudo useradd -m fractal
The allowed folders will be under /home/fractal.
On Windows
Tailscale exists on Windows and the PC joins the network like the others, but Tailscale SSH doesn't: fractal gets in through Windows' own SSH server, «OpenSSH Server», still inside the Tailscale network.
- Install Tailscale for Windows and sign in with your account.
- Settings → Accounts → Other users: a standard local user «fractal», not an administrator.
- In the graph, «Add» → «Computer» → Windows → Create the SSH key. fractal shows a command: on the PC open PowerShell as administrator and paste it. It turns on OpenSSH Server, authorizes the key for the «fractal» user and makes it reachable only from the Tailscale network.
Folders are written the Windows way, separated by semicolons: C:\Users\fractal\Documents; C:\Users\fractal\Desktop. Case doesn't matter. Commands an agent runs go through PowerShell.
In the graph
«Add» → «Computer», then:
- the system: Mac or Linux, or Windows;
- the computer's name as Tailscale shows it (e.g.
mac-mini); - the user:
fractal; - the allowed folders;
- the auth key
tskey-auth-…, pasted here and never into a chat.
Before saving, fractal tries to get in. If it can't it says so, and saves nothing. Then draw a wire from an agent to the computer to give it the actions you want.
Removing access
- Remove the wire from the agent: the next action is refused.
- Remove the node from the graph: fractal turns the connection off and deletes its keys. In Tailscale the «fractal-…» device stays in Machines until you remove it.
- In Tailscale, Settings → Keys: revoke the auth key. On Windows, to also remove the SSH key, delete its line in
C:\Users\fractal\.ssh\authorized_keys.