SSH Defaults
Host Services
Section titled “Host Services”
| Field | Default | What it does |
|---|---|---|
| Scan services of a host while the Monitor window shows it (hosts with their own choice in the Monitor keep it) | On | The default for every SSH host: service detection and the service cards of the Monitor window. Off: nothing of the service scan runs on a host without its own choice. |
Saved with Apply or OK in localStorage monitor-apps (1 / 0).
Each host can override the default at the bottom of the Monitor window, under What KryoDesk
runs on this host: Scan services on this host while the Monitor shows it. A host with its own
choice shows own choice (use the default); use the default removes it, Default for
hosts… opens this page. The host is the saved session (session:<id>) or, for Quick connect,
quick:<user>@<host>:<port>; the choices per host, and the services whose Passive read is off,
are kept in localStorage monitor-apps-hosts.
With the scan off the Monitor window still runs the 3 s sample of the status bar (CPU, memory, network, disks, systemd services) and the Docker read: they have no switch.
New Sessions
Section titled “New Sessions”| Field | Default | What it does |
|---|---|---|
| Name new sessions after the server’s hostname | On | A new SSH session saved without its own name (empty, the host, host:port, user@host or user@host:port) takes the server’s hostname after its first successful login. Off: new sessions are not marked, and a marked one loses its mark at its next login without anything run on the host. |
Saved with Apply or OK in settings.json (ssh.nameFromHost).
After the shell is open (not in an SFTP-only tab: with MaxSessions 1 the read could take the
channel SFTP needs; the mark waits for the first shell login), KryoDesk runs once, on its own channel
without a terminal, echo @n; uname -n; echo @f; hostname -f (limit 5 s). The name is:
- the output of
hostname -fwhen it has a domain (web-01.prod.example.com); - else
uname -nwhen it has a domain; - else the session’s host, when it is a DNS name whose first label is the
uname -nname (the server knows no domain, the session connects by its DNS name); - else
uname -nalone.
Only a valid DNS name is used: labels of letters, digits and -, at most 63 characters each and
253 in all, the last label not all digits; IP addresses, localhost and (none) are skipped. A name
that another session already has as its name or host (any case) is refused. No reverse DNS lookup
is made. The tab gets one line, for example [KryoDesk] Session name set to 'web-01.prod.example.com' from `hostname -f` (`echo @n; uname -n; echo @f; hostname -f`) on the server (was '10.0.0.5')., or why the name was not taken (exit status, each value with the reason
it was rejected, stderr, the session that has the name). Mr. Paperclip reports the new name with
Undo, which brings back the previous one.
A session with tmux/screen and an empty tmux/screen name used the
default kd-<session name>; on renaming, that default of the old name is written into the session,
so the next tab attaches to the same remote session (also after Undo).
The read happens once: the session’s nameFromHost: "pending" mark in sessions.json is removed
after it, whatever the result. A name changed before the read (also in the Save session dialog
after the first login) wins. Quick connect without saving reads nothing.