The Diagnostics tab
What a server's Diagnostics tab shows: endpoint, transport, session, host key, what the server asked at sign-in, the ssh command, and the connection log.
In short
- Every server has a Diagnostics tab: Connections → the server → Diagnostics.
- Status says where HiveBoard connects, how, whether it is signed in, which host key it trusts, and what the server asked at sign-in.
- The connection log lists every connect, drop and refusal for that server, from connections.log in the data folder; Problems filters it.
- Copy report and Copy log put it all on the clipboard; nothing is sent anywhere.
The Diagnostics tab of a server says how HiveBoard reaches it and what has happened to the connection: where it connects, how, whether it is signed in, which host key it trusts, what the server asked at sign-in, and a log of every connect, drop and refusal. It is the place to look when a server will not connect or keeps dropping.
Open it from Connections: pick the server, then the Diagnostics tab. Reading it contacts nothing; Refresh reads the facts again from HiveBoard itself.
Status
| Line | What it says |
|---|---|
| Endpoint | The user, address and port HiveBoard connects to |
| Configured | Self-contained, or through an alias in ~/.ssh/config |
| Connects through | The jump server, when there is one |
| Transport | How HiveBoard speaks SSH to it |
| Session | Whether it is signed in now, and since when |
| Host key | The server’s key type, fingerprint, and what HiveBoard made of it |
| Trusted by HiveBoard | Whether that key is in HiveBoard’s own known_hosts |
Configured reads In HiveBoard (self-contained) for a server whose
address, user and key live in HiveBoard’s data folder, and names the alias for
one taken from ~/.ssh/config. See
Hosts from your SSH config.
Transport is native in the single-file app: its own SSH, one held
connection per server. For an alias that HiveBoard’s own SSH could not reach,
it reads that the system ssh is used instead, for five minutes after the
failure.
Session is Connected, Signing in…, Signed out or Not signed in yet. When it is signed out after an error, the error is shown under the facts.
Host key ends with what HiveBoard made of the key: known (already
trusted), pinned (seen for the first time, and trusted from now on),
changed or refused. When HiveBoard has not connected since it started, it
shows the key it has on record. A changed key is refused before any password or
key is offered: see Its identity changed and
Trusting a server’s identity.
What the server asked
When the server asked questions at sign-in, a line lists them in order — “At sign-in the server asked:” followed by each prompt. Anything the server said along with them (a banner, the QR code a cluster sends when it has just turned on two-factor sign-in) is under What the server said at sign-in. Nothing you typed is shown or kept.
In a terminal
The ssh command that reaches the same server, with Copy: its port, the
keychain key’s file, and the jump server, when there are any —
ssh -p 2222 zoe@ember.example.edu
Run it in a terminal to see whether ssh gets in where HiveBoard does not. For
an alias it is simply ssh and the alias’s name.
The connection log
The last 40 entries for this server from connections.log, HiveBoard’s log in
the data folder, together with what this window
has seen since it was opened — newest first.
- All or Problems: Problems keeps the entries that say something went wrong — a connection that died, a missed keepalive, a refusal, a timeout, a sign-in that failed.
- An entry with more to say — what was running when a connection died, or the server’s own words — opens with Details or What the server said.
- Copy log copies every entry, whatever the filter.
Each entry carries a time; hover it for the date. A server that has answered everything shows No events yet: HiveBoard writes down every drop and refusal, so an empty log means nothing went wrong.
The log never holds a password, a code, a passphrase or a key. It names your servers and your user names on them.
Copy report
Copy report, beside Refresh, puts on the clipboard, as text: the server’s name, its endpoint, how it is configured, its sign-in method, the session state, the transport, the host key, and the whole connection log. It sends nothing. Paste it into an email to your cluster’s support, or into a report to the makers of HiveBoard.
Sending it to the makers
Settings → Report a problem can attach the end of connections.log — its
last 60 lines, for every server — after you have read and cut it. See
Reporting a problem.
Check yourself
2 quick questions on this page. Nothing is sent anywhere.
-
Where does the Diagnostics tab's connection log come from?
- connections.log in HiveBoard's data folder, plus what this window has seen since it opened
- The server's own system log
- Your shell history on the cluster
Show the answer
connections.log in HiveBoard's data folder, plus what this window has seen since it opened The log is HiveBoard's own connections.log for that server, together with the events this window has seen.
-
What does Copy report on the Diagnostics tab do?
- Puts the facts and the log on your clipboard, and sends nothing
- Sends a report to the makers of HiveBoard
- Saves a file in the data folder
Show the answer
Puts the facts and the log on your clipboard, and sends nothing Copy report only copies text; a report to the makers leaves only from Settings → Report a problem, when you press Send.
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.