From 8996fc54fe4596368a1677821b1a390a70c56ab0 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Tue, 8 Sep 2026 23:08:42 +0200 Subject: fix: support preinstalled windows remote hosts (#3661) * fix: support windows hosts in saved ssh machines refs #3651 * fix: keep windows ssh bridge writes blocking refs #3651 * fix: close saved windows ssh bootstrap input refs #3651 * refactor: simplify remote bridge helpers refs #3651 * refactor: isolate remote bridge platform behavior refs #3651 * fix: close captured ssh input under windows consoles refs #3651 * test: remove redundant remote command assertions refs #3651 refs #3701 * test: handle framed ssh commands in machine setup refs #3651 --------- Co-authored-by: Ogulcan Celik --- src/remote.rs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/remote.rs') diff --git a/src/remote.rs b/src/remote.rs index 4ab4d531..768d90f1 100644 --- a/src/remote.rs +++ b/src/remote.rs @@ -1,24 +1,15 @@ mod args; mod attach; -#[cfg(unix)] -mod host_unix; +mod host; mod process; mod restart_policy; mod saved; pub(crate) use args::*; pub(crate) use attach::*; -#[cfg(unix)] -pub(crate) use host_unix::run_remote_client_bridge; +pub(crate) use host::run_remote_client_bridge; pub(crate) use saved::*; -#[cfg(windows)] -pub(crate) fn run_remote_client_bridge() -> std::io::Result<()> { - Err(std::io::Error::other( - "remote Windows hosts are not supported yet", - )) -} - pub(crate) fn print_saved_ssh_error_hint(err: &std::io::Error, target: &str) { if is_remote_host_key_error(err) { eprintln!( -- cgit v1.2.3