Signing in to a server
The sign-in sheet: when a server waits for you, what the sheet asks for — passphrase, password, code — and what happens to what you type.
In short
- A server that needs a password, a code, a key's passphrase, the SSH agent or Kerberos never connects by itself; its chip says Sign in or Signed out.
- The sheet asks for exactly what that server needs, and shows whatever the server said at sign-in — such as a first-login QR code.
- What you type is used once to open the connection and then discarded; nothing is stored or logged.
- Once signed in, HiveBoard keeps the connection until it drops or you close the app, and refreshes that server at once.
Sign in with a password and a code
A two-factor cluster waits for you: the chip that says so, the sign-in sheet, a question the server adds, and the server joining the list.
Some servers cannot be reached without you: they want a password, a one-time code, a key’s passphrase, a touch on a security key, or a Kerberos ticket. HiveBoard never connects to such a server by itself. It waits, says so on the server’s chip, and asks for what is needed only when you open the sign-in sheet — a small window that asks for exactly what that server needs and nothing more.
Which servers wait for you is decided by how they sign in: see Sign-in methods.
When a server is waiting for you
Its chip in the top bar says Sign in when it has not been signed in to since HiveBoard started, and Signed out when it was connected and the connection has ended. In Connections its state reads Sign-in needed, Signed out or, for a locked key, Key locked. Nothing opens by itself: the sheet appears when you ask for it.
Open the sheet from any of these:
- the server’s chip in the top bar;
- the Sign in to … button the Jobs page shows for the server while nothing has loaded — see Server status in the top bar;
- Sign in (or Unlock key) in the server’s header in Connections, or on its Overview;
- Sign in… in the server’s ⋯ menu, or on a right-click;
- several at once: select them in Connections and press Sign in (n) — one sheet after another, each typed by you.
What the sheet asks for
The sheet is headed Sign in to and the server’s name, with its address, and a sentence says what this server wants — for example, “Nimbus asks for your password and a one-time code each time it connects.” Then come the fields this server needs, in the order you have them to hand:
| Field | Shown for |
|---|---|
| Kerberos password | A Kerberos server; may be left empty |
| Key passphrase | A keychain key locked with a passphrase |
| Password | Password, Password + code, Key + code |
| One-time code | Password + code, Key + code |
The code comes last because it is the thing that expires: codes last about 30 seconds, and if yours is about to roll over, wait for the next one. On a Key + code server the password field says “only if” the server asks for one; leave it empty when it asks only for the code. The Kerberos password goes to your realm’s own servers for a ticket, never to the server you are signing in to; leave it empty if this computer already holds a ticket.
A server whose key is in this computer’s SSH agent, and that asks for no code, has nothing to type: the sheet has one button, Connect. Touch your security key when it blinks, or approve the request your password manager shows; HiveBoard waits a minute and a half for that.
Press Sign in (or Enter in a field). The sheet checks before anything is sent: with the password or the code missing it says so — “Enter your password too — signing in without it just fails and wastes this code.” — instead of spending an attempt. Cancel, Esc or a click outside the sheet closes it and sends nothing.
What the server said
Some servers send text along with their questions. HiveBoard keeps it and shows it on the sheet under What … said at sign-in. A cluster that has just turned on two-factor sign-in sends its setup QR code this way on the first login; the sheet says: “Setting up a new authenticator? Scan the code below, or type the key it shows into your app, then sign in with the code the app gives you.” The same text is kept on the server’s Diagnostics tab.
What happens to what you type
- It is used once to open the connection, then discarded. HiveBoard never stores a password, a code or a passphrase, and the connection log never holds one.
- A question about your password is answered with the password and nothing else, once. A question about a code gets the code. A key passphrase is never offered to a server as a password.
- If the server asks for something the sheet did not collect — a PIN, then a token — the question appears in the sheet. See When a server asks more.
After you sign in
The sheet closes and a message says “Connected to Nimbus.” That server alone is refreshed straight away — its queue and its code tags. If the Jobs page was waiting on this server alone, it says “Connected to Nimbus — loading your jobs…” until they arrive. HiveBoard then stays connected until the link drops or you close the app; after that the chip says Signed out and the server waits for you again.
When the sign-in fails
The sheet stays open and says what went wrong, with advice chosen from the error, such as:
- “The code wasn’t accepted — it has probably expired. Enter the current one from your authenticator app.”
- “The server could not be reached at all — check your network or VPN. Your code is probably fine.”
- for a changed host key: “This is not about your code. Until the host key is resolved, HiveBoard will not connect.”
The field you must type again is emptied and the cursor put there. Nothing tries again on its own: one press of Sign in is one attempt. A server that refused a sign-in is not asked again until you act — see A refused sign-in.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
What does HiveBoard keep of the one-time code you type on the sheet?
- Nothing — it is used once to open the connection, then discarded
- It keeps it until the connection drops, to reconnect
- It writes it to connections.log for Diagnostics
Show the answer
Nothing — it is used once to open the connection, then discarded Everything typed on the sheet is used once to open the connection and then discarded; the log never holds a code.
-
A server's chip says Signed out. What does HiveBoard do about it by itself?
- Nothing — it waits until you open the sheet and sign in
- It tries again on every refresh, every 20 seconds
- It opens the sign-in sheet on its own
Show the answer
Nothing — it waits until you open the sheet and sign in A server that needs a person never dials by itself, and the sheet opens only when you click.
Try it in the app
On your own computer, with HiveBoard open. Tick them off as you go.
Related
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.