# Adding a server

> Add a cluster to HiveBoard in four steps: its address and a check of the server, how to sign in, a five-step connection test, and a name.

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

## In short

- Check server looks the server up — who it is and which sign-in methods it accepts — and sends no password, key or code.
- HiveBoard recommends a sign-in: an SSH key whenever the server accepts keys, which it can create and install with your password, once.
- The test runs five steps; one that signed in with what you typed keeps its connection, so adding the server does not ask again.
- Nothing is saved until Add server, and the same account on the same machine cannot be added twice.

To add a server, open Connections and press **Add server**, or press the **+**
after the server chips in the top bar. Four steps follow — **Address**,
**Sign-in**, **Test** and **Finish** — and beside them a **So far** card keeps
what HiveBoard has learnt about the server. Nothing is saved until the last
button, **Add server**.

The server you add this way is *self-contained*: HiveBoard keeps its address,
your username and its key in its own data folder, so it works from any computer
you take HiveBoard to.

## Step 1: Address

1. Type the **Server address**: the login node you would give `ssh`, such as
   `ember.example.edu`.
2. Check the **Port**. It starts at 22, the usual port for SSH.
3. Type your **Username** on the server. Left empty, HiveBoard uses your user
   name on this computer, as `ssh` would.
4. Press **Check server**, or <kbd>Enter</kbd> in any of the three fields.

**Check server** opens a connection and reads three things: who the server is
(its host-key fingerprint, and whether this computer has seen it before), its
login banner, and which sign-in methods it accepts. It sends no password, no key
and no code, and it does not record the server's identity yet. If the server
cannot be reached, the step says why: an address that does not exist, a port
that refuses the connection, or no answer at all — which, for many clusters,
means you need the campus network or a VPN.

### A server behind another one

Some servers can only be reached from inside a network. Open **Only reachable
through another server?** and choose, under **Connect**, the server to go
through. HiveBoard signs in to that one first and connects onward from there, as
`ssh -J` does. The choice appears once you have a self-contained server to go
through. See [Jump servers](/docs/connections/jump-servers).

### Starting from your SSH config

When `~/.ssh/config` on this computer names hosts, a card **Or start from your
SSH config** lists them. Pick one and HiveBoard copies its address, username and
port, names the server after the host, and checks it at once. The result no
longer depends on that file. **Add several at once** works differently: the hosts
you tick are added exactly as `ssh <name>` reaches them. See
[Hosts from your SSH config](/docs/connections/ssh-config-hosts).

## What So far shows

From step 2 on, **So far** sums up the check:

- **Server** — the account and address, such as `zoe@ember.example.edu`, the
  server it is reached through, and the server's SSH version.
- **Identity** — *First visit — trusted when you connect*, *Known to this
  computer*, *Vouched for by a certificate authority on record*, or *Not the
  identity on record* — with the fingerprint. See
  [Trusting a server's identity](/docs/connections/server-identity).
- **Lets people in with** — which of *SSH keys*, *Passwords*, *Interactive
  prompts (codes)* and *Kerberos tickets* the server accepts.
- **Sign-in** and **Test** — your choice, and how the test went.

**Server message** opens the login banner. **Change address** goes back to
step 1.

## Step 2: Sign-in

**How should HiveBoard sign in?** offers **SSH key**, **Key + code**,
**Password** and **Password + code**, and **Kerberos** as well when the server
takes Kerberos tickets. One choice is marked **recommended**: **SSH key** when
the server accepts keys, otherwise **Password** when it takes a password or
interactive prompts, otherwise **Kerberos**. How to choose is on
[Sign-in methods](/docs/connections/sign-in-methods).

| Choice | What this step asks for |
|---|---|
| **SSH key** | A **Key**; your password only to install it |
| **Key + code** | A **Key** and a **One-time code**; your password if the server asks for it too |
| **Password** | Your **Password** |
| **Password + code** | Your **Password** and a **One-time code** |
| **Kerberos** | A **Kerberos password** (optional), and the **Realm** if it must be named |

The **Key** list holds **Create a new key for this server**, the keys in your
keychain (a locked one says so), and **This computer's SSH agent — security keys,
smart cards, password managers**. Choose the agent for a key that cannot be
copied: HiveBoard asks the agent to sign when you press **Test connection**, and
never by itself. See [Security keys, smart cards and the SSH agent](/docs/keys/ssh-agent).

If the server does not accept keys, the step says so: "This server doesn't
accept SSH keys. Choose a password sign-in instead."

> [!BUILD]
> The Python build has no Kerberos password field: it signs in with the ticket
> this computer already holds. See [Kerberos](/docs/keys/kerberos).

### Installing the key on the server

A new key has to be added to `~/.ssh/authorized_keys` on the server before it
can sign you in. HiveBoard does that for you, once, with your password:

1. Type **Your password on the server**, and the **One-time code** if the server
   asks for one.
2. Press **Install key**.

With **Create a new key for this server** chosen, HiveBoard first creates an
Ed25519 key named after the server. It then signs in with your password, adds the
key's public half to `~/.ssh/authorized_keys` only if it is not there already —
after keeping a copy of that file — and signs in with the key to prove it works.
The step then says **Key installed.** or **Key already on the server.**, whether
signing in with the key worked, and the name of the copy it kept.

Skip this if the key is already on the server. Installing a key is the only
change HiveBoard makes on a server outside job control. More on
[Installing a key on a server](/docs/keys/install-a-key).

## Step 3: Test

Press **Test connection**. HiveBoard signs in with what you chose and runs five
steps, each ticked as it passes: **Reach the server**, **Verify its identity**,
**Sign in**, **Read your account** and **Find the job scheduler**. What each step
checks, and what a failure means, is on
[The connection test](/docs/connections/connection-test).

- When all five pass, press **Continue**.
- When one fails, the checklist marks where it stopped and says why. Press **Try
  again**, **Back** to change the sign-in, or **Add anyway**: the server is then
  added as it is, and shows as unreachable until it connects.

A test that signed in with something you gave it — a password, a code, the SSH
agent, a Kerberos password — keeps its connection, so adding the server does not
ask you again. Leave the steps without adding the server and that connection is
closed. What you typed for the test is cleared once it has run.

If the server asks more than you typed — a PIN, a token — a small window shows
its question. See [When a server asks more](/docs/connections/server-questions).

## Step 4: Finish

Under **Name it**:

- **Display name** — suggested from the first part of the address:
  `ember.example.edu` becomes *Ember*.
- **Group** (optional) — gathers servers under one heading in the list.
- **Highlight users** (optional) — people whose jobs you want marked in the job
  list, separated by commas.
- **Allow job control — cancel, continue and delete my own jobs (each
  confirmed)** — off unless you tick it. See
  [Turning on job control](/docs/job-control/turn-on-job-control).

Press **Add server**. HiveBoard saves the server, opens its page in Connections,
and starts listing its jobs. A new server looks for every simulation code; to
narrow that, use its **Software** tab later, as
[Codes per server](/docs/codes/codes-per-server) describes.

## What cannot be added twice

The same account on the same machine cannot be added twice. HiveBoard says:
"That account on that machine is already added as “Ember”. Edit it instead of
adding it twice."

For a second account on the same cluster, or the same login on a sister
cluster, open a server's ⋯ menu and choose **Duplicate…**. The steps start from
a copy of its settings; change what differs — usually the username or the
address — and check the server.

## Check yourself

1. What does Check server send to the server?
   - No credential — it reads the server's identity, its banner and the sign-in methods it accepts ← the answer
   - Your password, to see whether the server accepts it
   - Your public key, so it can be installed
   Why: Check server only looks the server up; the page says "no password is sent", and nothing is recorded yet.

2. The test stopped at Reach the server. Can you still add the server?
   - Yes — Add anyway adds it, and it shows as unreachable until it connects ← the answer
   - No — a server must pass all five steps first
   - Only after a key has been installed on it
   Why: A failed test offers Try again, Back and Add anyway; the server is then added as it is.

## Try it in the app

- Add one of your own clusters and read what **So far** says about it before you choose how to sign in.
- In **So far**, open **Server message** and read the login banner your cluster sends.

## Related

- [Sign-in methods](https://hiveboard.dev/docs/connections/sign-in-methods.md)
- [The connection test](https://hiveboard.dev/docs/connections/connection-test.md)
- [Installing a key on a server](https://hiveboard.dev/docs/keys/install-a-key.md)
- [Hosts from your SSH config](https://hiveboard.dev/docs/connections/ssh-config-hosts.md)
- [Jump servers](https://hiveboard.dev/docs/connections/jump-servers.md)
