# Jump servers

> Reach a cluster that only answers from inside a network through another server you have added, as ssh -J does, with nothing installed on the way.

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

## In short

- A self-contained server can connect through another server you have added — the same as `ssh -J`.
- HiveBoard signs in to the jump server first, with that server's own sign-in, key and trusted host key, and opens the connection inside it; nothing is installed and no port is opened on your computer.
- Chains are allowed and circles refused; a jump server that waits for you must be signed in first, and one set aside is never used.

Some clusters answer only from inside a campus or institute network: from outside, you first
log in to a gateway and go on from there. HiveBoard can do the same. A server can be set to
connect *through* another server you have already added — what `ssh -J` does. HiveBoard signs in
to that jump server first and opens the connection onward from inside it.

In the examples on this page, the cluster Quartz (`quartz.example.edu`) can only be reached
from inside Ember's network, and Ember (`ember.example.edu`) is already in HiveBoard.

## Choosing a jump server when you add one

1. In **Add a server**, type Quartz's address, your username and the port.
2. Open **Only reachable through another server?** under the fields.
3. In **Connect**, choose **Through Ember — zoe@ember.example.edu**.
4. Press **Check server**.

The check, a key install and the connection test all go through Ember, and **So far** shows the
route under **Server**. The fold-out appears once you have at least one self-contained server —
one added with its address, not as an alias from `~/.ssh/config` — because only those can be
chosen as a jump server. A server that is set aside is still listed,
marked **(not in use)** — but nothing can go through it until it is back in use.

## Changing it later

On the server's **Connection** tab, the **Address** card has a **Connect** list (*for servers
reachable only from inside a network*): **Directly**, or **Through** one of your servers. Choose,
then press **Save changes**. The list leaves out the servers that already connect through this
one.

Only a self-contained server has this list. An alias from `~/.ssh/config` follows the route in
its own entry instead (see [Hosts from your SSH config](/docs/connections/ssh-config-hosts)).

The route then shows wherever the server does: a chip in its header reads
`this computer → Ember → Quartz`, the **Setup** card on its **Overview** has a **Route** line,
and the All servers table marks it **through Ember**. On Ember's own page, the same line says
that Quartz connects through it. **Copy SSH command** in the server's Actions menu gives the
equivalent `ssh -J` command.

In `config.yaml` it is one key, `jump:`, naming the other server:

```yaml
- name: quartz
  hostname: quartz.example.edu
  user: zoe
  jump: ember
```

## What happens on the way

- HiveBoard opens Quartz's connection as a channel inside Ember's own SSH connection, with
  Ember's sign-in, Ember's key and Ember's trusted host key.
- Nothing is installed on Ember, and no port is opened on your computer.
- Quartz's own [identity](/docs/connections/server-identity) is checked as any server's is.
- Chains are allowed: Ember may itself go through another server, and the header chip shows
  every hop. A circle is refused (*Those jump servers go round in a circle.*), and a server
  cannot go through itself.

## When the jump server needs you

A server that asks for a password, a one-time code, a locked key's passphrase, a touch on a
security key or a Kerberos ticket never connects by itself. If Ember is such a server, nothing
can go through it until you have signed in to Ember: Quartz reports *sign in to the jump server
first*. Sign in to Ember from its chip or its page (see
[the sign-in sheet](/docs/connections/sign-in-sheet)), and Quartz can connect through it.

## Set aside, removed, exported

- A jump server that is [set aside](/docs/connections/set-aside) is never contacted on another
  server's behalf. Quartz's **Connection** tab then says that Ember is set aside and that Quartz
  can't connect until it is back in use.
- A server that others connect through cannot be removed. HiveBoard says which servers use it:
  change their **Connect** first (*Connection → Connect*), then remove it. When you remove
  several servers at once, those that go through another are removed first.
- An [export](/docs/connections/export-import) keeps the link, and an import points it at the
  jump server's name on the computer that imports it.

## Check yourself

1. What does HiveBoard install on a jump server?
   - Nothing — it opens a channel inside its SSH connection ← the answer
   - A small relay program in your home folder there
   - A forwarded port on your own computer
   Why: The connection runs as a channel inside the jump server's own SSH connection, as ssh -J does: nothing is installed and no port is opened on this computer.

2. Ember signs in with a password and a code, and Quartz is set to go through Ember. When can Quartz connect?
   - Once you have signed in to Ember ← the answer
   - At any time, with Ember's saved password
   - Never — a jump server cannot ask for a code
   Why: A jump server that waits for a person never connects by itself, so it must be signed in before anything can go through it.

## Try it in the app

- On a server that goes through another, read the route chip in its header: it names every hop from this computer.
- Open the jump server's **Overview** and find the **Route** line under **Setup**, which names the servers that connect through it.

## Related

- [Adding a server](https://hiveboard.dev/docs/connections/add-a-server.md)
- [Hosts from your SSH config](https://hiveboard.dev/docs/connections/ssh-config-hosts.md)
- [Setting a server aside](https://hiveboard.dev/docs/connections/set-aside.md)
- [Signing in to a server](https://hiveboard.dev/docs/connections/sign-in-sheet.md)
- [Trusting a server's identity](https://hiveboard.dev/docs/connections/server-identity.md)
