Skip to content
Vaulthalla LogoVaulthalla

Link two servers

A link is a lasting connection between exactly two Vaulthalla servers. Each server records the other's key, and a super admin on each side approves. Mirrored vaults travel over a link, and nothing else does: a link on its own copies no vault and gives the other server no access.

Desktop makes a link easy to find and quick to set up, but it never makes one for you. Before anyone confirms, it shows what each server will hold.

Before you start

  • Both servers run Vaulthalla 1.27 or later. An older node reads "needs Vaulthalla 1.27 or newer" in the Link Servers sheet, and Link stays disabled.
  • This Mac is paired as a super admin on at least one of the two. Every linking command needs a super admin on that server. Desktop never works around a refusal.
  • One of the two can reach the other: the same network, a VPN, or a forwarded port.

The Link Servers sheet states this for each direction before you confirm:

What the other server gets
Accounts Shared as identities only.
Vaults None. No vault is mirrored until one server offers it and the other accepts.
Access to mirrored vaults The default role you pick for it in that direction. No role is the default.
Any third server Nothing. Trust goes no further than the two servers.

Open All Nodes and choose Link Servers…. Two paired nodes that aren't linked also get a quiet row on All Nodes, "A and B are not linked", with Link…, which opens the same sheet with both servers picked.

What happens next depends on where this Mac's account is a super admin:

This Mac is a super admin on What you do
Both servers Confirm on one screen. Desktop links them over its own connections.
One of them Request the link from that server. The other server's admin approves it there.
Neither Nothing from here. A super admin of either server can start it there.
  1. Pick the two servers

    In Link Servers…, pick both nodes.

  2. Check what each will hold

    The sheet shows both servers by name and address, with the short form of the key this Mac pins for each. Under What server will hold here, it lists, per direction, accounts as identities only, no mirrored vaults yet, and a picker for that server's default role on vaults mirrored with it (No role unless you pick one).

  3. Desktop checks both servers against the keys it already trusts and compares the pairing code for you. The sheet shows each step: checking both servers, one reaching the other, comparing the code, and recording the link.

What you'll see: "A and B are linked." If you picked a role and a server refused to set it, the sheet says which role wasn't set where and why. The link stays; that server simply has no role on mirrored vaults from that side yet. If linking fails, Desktop undoes what it started and says "A and B weren't linked."

When another server's admin starts a link with a server you administer:

  1. Open the window

    In All Nodes, under that node's linked servers, choose Accept a Link Request…. The node opens a window for linking. The sheet shows this server's key, its addresses, and how long the window stays open.

  2. Give the other admin an address

    They choose Request a Link in Desktop (or Linked servers › Link a server in their web console) and enter one of the addresses shown.

  3. Check the key, then click the code

    Their request appears with their server's name and key. Check that the key matches what they read to you, then click the code they read out. A wrong code declines the request. Deny declines a request you didn't expect.

What you'll see: "server is now linked with this server. The two connect on their own." Closing the sheet closes the window, and any request that wasn't approved expires with it.

All Nodes lists each node's linked servers:

Line Meaning
Connected since time The link is up.
Not connected since time The link is down. Check that one server can still reach the other.
speaks an older link protocol: update it The other server needs a newer Vaulthalla.
linked by Desktop, linked by a person Who set up the link.

Each row's menu has:

  • Rename…: the name this server shows for the other one. The other server keeps its own name for it.
  • Unlink…: this server stops trusting the other's key and closes the connection; the other server is told and unlinks too. To link them again, make a new link.

If linking doesn't work

Linking problems

Link stays disabled and a server reads "needs Vaulthalla 1.27 or newer"
Cause
That server can't link servers.
Fix
Update Vaulthalla on it.
"This Mac isn't paired as a super admin on A or B"
Cause
Neither server lets this Mac's account link servers.
Fix
Ask a super admin of either server to start the link there.
"Another pairing window is open"
Cause
Someone is pairing a device or a server on that node. Only one window can be open at a time.
Fix
Try again when they're done.
The sheet keeps saying "A is reaching B at address…"
Cause
A can't reach that address.
Fix
Check the address and the firewall, or use an address on a network both share (LAN, VPN or a forwarded port).
"The request expired before B approved it"
Cause
The other admin didn't approve in time, or their window closed.
Fix
Ask them to open Accept a Link Request… again, then request again.
"The role wasn't set on server"
Cause
That server refused the default role you picked.
Fix
The link stands. A super admin on that server can set the role later.

What linking does not do

  • It doesn't mirror anything. See Mirrored vaults for offering a vault to a linked server.
  • It doesn't link more than two servers, and a third server gains nothing from a link.
  • AI apps can't link servers: a person always does it in the app or the web console.
Link two servers | Vaulthalla