HI!, Is it possible to forward unix sockets? I see channel_open_direct_tcpip the method but seems like I doesn’t work with sockets
channel_open_direct_tcpip
for context this is how it works with the openssh crate
openssh
let session = Session::connect_mux("ssh://user@server", KnownHosts::Strict) .await .unwrap(); session .request_port_forward( ForwardType::Local, SocketAddr::from_str("0.0.0.0:2375").unwrap(), Path::new("/var/run/docker.sock"), ) .await .unwrap();
HI!, Is it possible to forward unix sockets? I see
channel_open_direct_tcpip
the method but seems like I doesn’t work with socketsfor context this is how it works with the
openssh
crate