# Hosts from your SSH config

> Start from the hosts in your ~/.ssh/config: copy one into a self-contained server, or add several at once as aliases, jump hosts included.

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

## In short

- Picking a host from ~/.ssh/config copies its address, username and port into HiveBoard; the new server no longer depends on that file.
- Add several at once adds the ticked hosts as aliases, reached exactly as `ssh <name>` reaches them on this computer, jump hosts included.
- An alias works only on a computer with the same ~/.ssh setup; Make it self-contained on its Connection tab copies what it needs into HiveBoard.

If you already reach your clusters with `ssh ember` from a terminal, HiveBoard can start from
that. It reads the hosts in `~/.ssh/config` on this computer — a local file; no server is
contacted to list them — and offers them in two places: on the first-run page under **Found
on this computer**, and on the first step of **Add a server** under **Or start from your SSH
config**.

There are two ways to use those hosts, and they give two different kinds of server: picking
one host makes a *self-contained* server, and **Add several at once** makes *aliases*.

## Pick one host

Picking a host copies its address, username and port into HiveBoard. The server you end up
with is self-contained: it keeps everything in HiveBoard's data folder and no longer depends on
`~/.ssh/config`. In **Add a server**, the fields are filled in and **Check server** runs at
once; from the first-run page, **Add a server** opens with the fields filled in. From there it is
the usual [four steps](/docs/connections/add-a-server).

- If the key file the host's entry names (`IdentityFile`) is already in the
  [keychain](/docs/keys/keychain), that key is chosen for you.
- A host you have already added is marked **added as** and the name it has here; picking it
  again only says so.
- A host whose entry goes through a `ProxyJump` or `ProxyCommand` is marked **jump host**.
  Picking it copies its address, not its route: add it with **Add several at once**, which keeps
  the route, or add the jump server first and choose it under *Only reachable through another
  server?* (see [Jump servers](/docs/connections/jump-servers)).
- Entries written with a wildcard, such as `Host *`, are not listed.

## Add several at once

1. On the first step of **Add a server**, press **Add several at once** — or choose **Add
   several from ~/.ssh/config…** in the list's **More** menu, or **Add several at once** on the
   first-run page.
2. Tick the hosts you want.
3. Press **Add 3 servers** (the button counts what you ticked).

A page then lists what was added and what was skipped, and why. These servers are *aliases*:
added exactly as `ssh <name>` reaches them on this computer, jump hosts included. Each is named
after its host and signs in with a key — the one its entry names, or else the keys `ssh` would
try by itself (`id_ed25519`, `id_rsa`, `id_ecdsa`). If one signs in with a password or a code
instead, choose that on its **Connection** tab.

## Alias or self-contained

| Kind | In `config.yaml` | From another computer? |
|---|---|---|
| Alias | `ssh_host: ember` | Only with the same `~/.ssh` |
| Self-contained | `hostname`, `user`, `port`, a keychain key | Yes |

An alias takes from `~/.ssh/config` only where the server is (`HostName`, `Port`, `User`) and
which key to offer (`IdentityFile`). From there on it is dialled like any other server: its
[identity is checked](/docs/connections/server-identity) and remembered, and a password or a
code goes through the [sign-in sheet](/docs/connections/sign-in-sheet). A route in its entry is
followed too: the single-file app hands an alias it cannot reach directly to this computer's
own `ssh` program.

> [!BUILD]
> The Python build follows a `ProxyJump` itself, server by server, checking each one's
> identity; it refuses a route that comes back round to a server already on it, and starts a
> `ProxyCommand` to carry the connection.

You can tell which kind a server is at a glance: its header says **Self-contained** or
**~/.ssh alias “ember”**, and the foot of the list says how many servers still depend on this
computer's `~/.ssh`. Some things need a self-contained server: a key from HiveBoard's keychain,
[this computer's SSH agent](/docs/keys/ssh-agent), [Kerberos](/docs/keys/kerberos), and a jump
server chosen in HiveBoard.

## Make it self-contained

1. Open the alias in Connections and go to its **Connection** tab. It says **Reached through
   this computer's SSH setup.**
2. Press **Make it self-contained**. The address, username and port are filled in from
   `~/.ssh/config`.
3. If the server signs in with a key that is in `~/.ssh` but not yet in the keychain, HiveBoard
   asks **Copy Ember's key into HiveBoard?** Press **Copy key into keychain**; the original file
   is left untouched.
4. Review the fields and press **Save changes**.

## This computer's SSH keys

A self-contained server that signs in with a key can still use the keys in `~/.ssh`: on its
**Connection** tab, the **Key** list starts with **This computer's SSH keys (~/.ssh)**. HiveBoard
then offers that server the keys `ssh` would try by itself — `id_ed25519`, `id_rsa`,
`id_ecdsa`. Only a key server with this choice is shown them; a password, Kerberos or agent
server never is.

Those keys stay on this computer, so the server will not work from another one; the tab warns
you of that. To make it travel, import the key under **Keys on this computer** in the
[keychain](/docs/keys/keychain) and choose it in the **Key** list.

## Check yourself

1. You pick nimbus under Or start from your SSH config. What does HiveBoard keep?
   - Its address, username and port, as a self-contained server ← the answer
   - A pointer to the nimbus entry in ~/.ssh/config
   - A copy of your whole ~/.ssh folder
   Why: Picking one host copies its address and username into HiveBoard, so the result no longer depends on ~/.ssh/config.

2. You carry HiveBoard's data folder to another computer. Which servers work there unchanged?
   - Self-contained servers ← the answer
   - Aliases from ~/.ssh/config
   - Both kinds, always
   Why: An alias is resolved through ~/.ssh/config, so it works only where that computer has the same ~/.ssh setup.

## Try it in the app

- Open **Add a server** and look at **Or start from your SSH config**: which of your hosts are marked **added as** or **jump host**?
- If a server's header says **~/.ssh alias**, open its **Connection** tab, press **Make it self-contained**, review the address and press **Save changes**.

## Related

- [Adding a server](https://hiveboard.dev/docs/connections/add-a-server.md)
- [Jump servers](https://hiveboard.dev/docs/connections/jump-servers.md)
- [The keychain](https://hiveboard.dev/docs/keys/keychain.md)
- [Portable mode](https://hiveboard.dev/docs/settings/portable-mode.md)
- [Exporting and importing servers](https://hiveboard.dev/docs/connections/export-import.md)
