aboutsummaryrefslogtreecommitdiff
path: root/src/remote.rs
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-09-08 23:08:42 +0200
committerGitHub <noreply@github.com>2026-09-09 00:08:42 +0300
commit8996fc54fe4596368a1677821b1a390a70c56ab0 (patch)
tree65ff0293a3ee17b4acc50539bff382388abaf927 /src/remote.rs
parent68c7b78ec237034cbb0e21c8666842ed7991641d (diff)
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 <ogulcancelik@gmail.com>
Diffstat (limited to 'src/remote.rs')
-rw-r--r--src/remote.rs13
1 files changed, 2 insertions, 11 deletions
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!(