HiveBoard Docs Search the docs… Ctrl K Get HiveBoard
Browse the help centre
  1. Help centre
  2. Servers and connections

The connection test

HiveBoard's five-step connection test — reach, identity, sign-in, account, scheduler: what each step checks, what a failure means, where to run it.

4 min read HiveBoard 0.1.7 Updated

In short

  • The test signs in with the settings on screen and runs five steps: Reach the server, Verify its identity, Sign in, Read your account, Find the job scheduler.
  • The first step that fails is marked, the rest are skipped, and a sentence says what to fix.
  • Every command it runs only reads; a test never disturbs the connection a server already has.
  • Run it while adding a server, from a server's header, its Overview, its Connection tab, or for several servers at once.

The connection test signs in to a server with the settings on screen and runs a few commands that only read. It draws itself as a checklist of five steps, each ticked as it passes. The first step that fails is marked, the steps after it are skipped, and a sentence under the list says what to fix.

You meet the test as the third step of Adding a server, and you can run it again from any server’s page.

The five steps

StepWhat it checksShown when it passes
Reach the serverThe address and port answer, via a jump server if set—
Verify its identityThe host key against the recordFirst visit or known, and the fingerprint
Sign inThe method and what you typed—
Read your accountRuns whoami and hostnameYour user and the machine you landed on
Find the job schedulerLooks for squeue, qstat, bjobsJobs queued, yours, up to five partitions

When Verify its identity passes, its line says one of three things: first visit — trusted and remembered (this is when a new server’s identity is recorded), matches the key on record, or vouched for by a certificate authority on record.

Find the job scheduler passes even when none is found: its line then says “none found — the job list will be empty”. HiveBoard reads Slurm queues.

When a step fails

Stopped atWhat it usually meansWhat to do
Reach the serverWrong address or port, or no answerCheck both; try the campus network or VPN
Verify its identityNot the identity on recordDo not connect yet; see below
Sign inKey, password or code refusedRead the sentence under the list
Read your accountSigned in, but no sensible answerLook at the Diagnostics tab

The sentence under a failed Sign in points at the fix it can see:

  • “The server didn’t accept the key. Install the key on the server first, or check the username.”
  • “The server also wants a one-time code. Switch sign-in to “Password + code” and enter the current code.”
  • “The key is locked with a passphrase. Unlock it to connect.”
  • “The server didn’t accept the sign-in. Check the username and the key or password.”

A Kerberos failure — no ticket, a wrong Kerberos password, a realm that cannot be reached — is shown in its own words. Under the sentence, What the server said opens the exact error, and The server’s message at sign-in shows any text the server sent with its questions.

Where to run it

  • While adding a server — Test connection on the Sign-in step; after a failure, Try again.
  • On the Connection tab — Run test. It uses the settings in the form, saved or not, so you can try a change before you save it.
  • In the server’s header and on its Overview — Test connection runs the test and switches to the Connection tab to show it. The header offers it when nothing needs fixing; otherwise its button is Sign in or Try again.
  • In the server’s ⋯ menu, or on a right-click on its row or its chip — Test connection.
  • For several servers — select them and press Test connection. They are tested one after another, and any that would need something typed is left out (“Not tested — needs you to sign in”).

On a server that signs in with a password, a code, Kerberos or a locked key and is not connected, Test connection opens the sign-in sheet instead — unless you have unsaved changes on its page.

What the test does not do

  • It changes nothing on the server. Every command it runs only reads.
  • It never disturbs a server’s live connection. When the settings on screen differ from the saved ones, the test runs on a connection of its own, closed afterwards.
  • A test of several servers at once never stops to ask you a question; it says which question a server asked. A test while adding a server can ask — see When a server asks more.
  • It does not lift a refused sign-in. A test of the saved settings of a server whose sign-in was refused fails with that refusal, without asking the server again: fix the cause, then press Try again — see A refused sign-in.

Check now is not a test

Check now, on a server’s Overview and for several servers at once, asks over the connection HiveBoard already holds whether the server answers. It never asks anyone to sign in, and it skips a server that waits for a sign-in. The test signs in and runs all five steps.

Check yourself

2 quick questions on this page. Nothing is sent anywhere.

  1. The test stops at Verify its identity. What has been sent to the server?

    • No credential — the identity is checked before any password, key or code is offered
    • Your password, but not your one-time code
    • Your public key only
    Show the answer

    No credential — the identity is checked before any password, key or code is offered The identity step comes before Sign in, and a refused identity is marked "not acceptable — nothing was sent".

  2. What is the difference between Check now and Test connection?

    • Check now asks over the connection HiveBoard already holds whether the server answers; the test signs in and runs all five steps
    • None — they are two names for the same thing
    • Check now signs in again; the test only pings the server
    Show the answer

    Check now asks over the connection HiveBoard already holds whether the server answers; the test signs in and runs all five steps Check now never asks anyone to sign in; the test signs in with the settings on screen and runs the five steps.

Try it in the app

On your own computer, with HiveBoard open. Tick them off as you go.

Written for HiveBoard 0.1.7, the version on the download page. Examples use a made-up cluster (Ember) and person (zoe). Something here not what you see? Report it from the app.

↑ ↓ to moveEnter to openEsc to close