# Exporting and importing servers

> Move your server list to another computer or hand it to a colleague: what an export file holds, why it never holds a private key, and how import works.

Source: https://hiveboard.dev/docs/connections/export-import · Section: Servers and connections · HiveBoard 0.1.7 · Updated 2026-10-19

## In short

- An export is a file of your servers: addresses, usernames, sign-in methods, jump servers, groups, colours and notes — never a private key.
- A key travels as its name, fingerprint and public half, and is matched again by fingerprint against the keychain of the computer that imports the file.
- Import adds only what is missing, re-links jump servers, says what it skipped and why, and never turns job control on.

An export is a small file that describes your servers, so that another copy of HiveBoard — on
your next laptop, or a colleague's — can add them in one step. It carries everything needed to
reach the servers and nothing secret: **it never contains a private key**. Importing it adds
the servers that are missing and leaves the ones already there exactly as they were.

## Exporting

- **Every server**: **Export all servers…** in the list's **More** menu (⋯ beside the search),
  or **Export all…** above the All servers table or in Settings, under **Server list**.
- **Some servers**: tick them, press **More…**, and under **Export** press **Download file**.
- **One server**: **Export…** in its Actions menu.

HiveBoard saves a file named like `hiveboard-servers-2026-10-19.json` and says how many servers
it holds — and that it holds no private keys.

### What the file holds

For each server, the file holds:

- its display name, and its address, username and port — or, for an alias, its name in
  `~/.ssh/config`;
- how it signs in, whether through this computer's SSH agent, and a Kerberos server's realm;
- the server it goes through, if any;
- its group, colour and notes, the users you highlight, the simulation codes it looks for, and
  whether it is set aside;
- for a key from the keychain: the key's name, fingerprint and public half.

It never holds a private key, a password, a code or a passphrase (HiveBoard stores no password
to begin with), the job control setting, trusted host keys or saved jobs. The file holds no
secret, but it does name your servers and your usernames.

## Importing

You can start an import from several places, and they all do the same:

- **Import servers from a file…** in the list's **More** menu, or on the first-run page.
- **Import…** above the All servers table.
- **Import from a file…** in Settings, under **Server list**.
- Drop the file anywhere on the Connections page.

1. Choose the file, or drop it.
2. Read the page that follows: **Added 3 servers** (or **Nothing new to add**), with one line
   per server saying what happened to it.
3. Open each added server and sign in, or run its connection test.

### What import does

- **Adds only what is missing.** A server whose account on that machine is already here is
  skipped, with the note *already here as “Ember”*. Servers already here are not changed.
- **Matches keys by fingerprint.** If the keychain on this computer holds the same key, the
  imported server uses it. If not, the line says *its key (…) isn't in this keychain — import it,
  or create and install a new one.*
- **Re-links jump servers.** A server that went through another goes through that server's
  name here — the one just imported, or the one that was already here. If there is none, it is
  added without a jump server.
- **Never turns job control on.** Every added server starts read-only; switch it on per server
  if you want it (see [Turning on job control](/docs/job-control/turn-on-job-control)).
- **Keeps how each server signs in.** A password or code server waits for you to sign in. A
  server whose key is in this computer's SSH agent stays one: the agent here must hold the key
  too. A Kerberos server stays a Kerberos server.

A name already taken here gets a number (`ember-2`). A simulation code this copy does not know
— one you added yourself on the other computer — is dropped from that server's list. A file
that is not an export is refused: *That file isn't a HiveBoard server export.*

> [!TIP]
> Import the key into the [keychain](/docs/keys/keychain) on the new computer **before** you
> import the file: the match by fingerprint then happens for you. A key from PuTTY or WinSCP can
> be imported as it is (see [Keys from PuTTY and WinSCP](/docs/keys/putty-keys)).

## Export, or copy the data folder?

An export moves the server list only. To move everything — keys and trusted host keys included —
copy HiveBoard's [data folder](/docs/settings/data-folder) instead, or use
[portable mode](/docs/settings/portable-mode). That folder holds your private keys, so treat it
as you would `~/.ssh`.

## Check yourself

1. Your export includes Ember, which signs in with a key from the keychain. What does the file carry of that key?
   - Its name, fingerprint and public half ← the answer
   - The private key, encrypted
   - Nothing at all
   Why: An export never contains a private key: a key travels as its name, fingerprint and public half, and is matched by fingerprint on import.

2. A colleague imports your file. You had job control on for Ember. What is it on their computer?
   - Off — import never turns job control on ← the answer
   - On, as in your settings
   - On, once they have signed in
   Why: Job control is not in the file, and every imported server starts read-only.

## Try it in the app

- Export one server with **Export…** in its Actions menu, open the file in a text editor, and check that its `key` entry holds a name, a fingerprint and a public key — nothing private.

## Related

- [Managing many servers](https://hiveboard.dev/docs/connections/many-servers.md)
- [The keychain](https://hiveboard.dev/docs/keys/keychain.md)
- [Portable mode](https://hiveboard.dev/docs/settings/portable-mode.md)
- [Turning on job control](https://hiveboard.dev/docs/job-control/turn-on-job-control.md)
- [Jump servers](https://hiveboard.dev/docs/connections/jump-servers.md)
