Expand description
The durable sessions on an SSH host (spec §7.6): what the helper’s daemon holds there, which pane (if any) each belongs to, and ending one. Behind Connectors → Remotes’ “Sessions…”.
Structs§
- AskIn
- Where ssh’s prompts go: the user’s pane
block_id(its window), with srv’s auth key for the askpass helper. - Host
Session
Constants§
- EXIT_
COMMAND_ 🔒NOT_ FOUND sshexits 127 when the remote shell cannot find the command: no helper.- LIMIT 🔒
- How long listing or ending may take. ssh may first ask the user something
(askpass: a password, a passphrase, a new host key), and its dialog waits
up to two minutes (
connections::ask_user), so this covers that plus the command itself.
Functions§
- attribute
- Mark each session with the pane on
connthat holds it. - end
- End session
idonconn’s host: its shell and everything it started.falseif the host had no such session. - host_
for 🔒 - list
- The sessions on
conn’s host, each with its pane. A host without this version’s helper has none. - parse_
list - The helper’s
list: oneid end exitedline per session,exiteda code or-. Lines that are not that are skipped, never guessed at.