Expand description
ProxyCommand and ProxyJump consumers (PRD §5.8.2, M13).
M12 captured proxy_command and proxy_jump losslessly into
super::ssh_config::ResolvedSshConfig so gitway config show
mirrors ssh -G. This module is what M13 uses to actually consume
those values when establishing the underlying SSH transport:
tokens::expand_proxy_tokensexpands%h %p %r %n %%in aProxyCommandtemplate.- [
stdio::ChildStdio] wraps atokio::process::Child’s stdio in the [AsyncRead + AsyncWrite + Unpin + Send] surface thatrussh::client::connect_streamexpects. - [
command::spawn_proxy_command] glues the two together: token- expand the template, spawn through the platform shell (sh -con Unix,cmd /Con Windows), capture stdio.
Higher-level wiring — super::session::AnvilSession::connect_via_proxy_command
and connect_via_jump_hosts — lands in M13.2 and M13.4. The
jump-string parser and chain manager (jump.rs) land alongside
M13.3 and M13.4.
Re-exports§
pub use jump::parse_jump_chain;pub use jump::JumpHost;pub use jump::MAX_JUMP_HOPS;pub use tokens::expand_proxy_tokens;