Expand description
A pane’s connection, parsed from its connection block meta.
local(or empty): this machine.wsl://<distro>: a WSL distribution on this Windows machine.- anything else: an SSH destination as the user writes it for
ssh:host,user@host,user@host:port, or aHostalias from~/.ssh/config. The systemsshresolves it (spec §3.1).
The SSH destination ends up in an ssh argv, so it is validated here: one
starting with - would be read by ssh as an option (-oProxyCommand=...
runs a local command), and whitespace or control characters have no place in
a destination. The launch also puts -- before it; this is the first line.
Structs§
- SshDest
- A validated SSH destination:
host,user@hostoruser@host:port.
Enums§
- Conn
Target - Where a pane’s shell runs.
Constants§
- WSL_
PREFIX - Prefix of a WSL connection name.
Functions§
- same_
connection - Whether two connection names mean the same place:
""andlocaldo, and WSL distro names compare without case, as Windows treats them.