pub struct JumpHost {
pub host: String,
pub port: u16,
pub user: Option<String>,
pub identity_files: Vec<PathBuf>,
}Expand description
One hop in a [ProxyJump] chain.
Constructed by parse_jump_chain. M13.4’s chain manager reads
host and port to drive direct-tcpip; user and
identity_files are layered into the per-hop crate::AnvilConfig
before the inner SSH handshake.
identity_files is empty after parsing — the chain manager fills
it in by resolving each hop’s name against the user’s ssh_config.
Fields§
§host: StringBare hostname to connect to.
port: u16SSH port. Defaults to 22 when the jump-string omits it.
user: Option<String>Remote username, or None when the jump-string omits the
user@ prefix. The chain manager falls back to ssh_config’s
User for the hop, then to the inherited username, then to
the AnvilConfig builder default (git).
identity_files: Vec<PathBuf>Identity files for this hop. Empty after parse_jump_chain
returns; M13.4’s chain manager populates this by resolving the
hop’s Host block.