From 3602c757e07645383dc092f8540dcb72ba0ed49d Mon Sep 17 00:00:00 2001 From: Can Celik Date: Mon, 21 Sep 2026 15:22:46 +0300 Subject: fix: refresh forwarded ssh agents after reconnect (#4443) refs #1931 --- src/remote/host.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/remote/host.rs') diff --git a/src/remote/host.rs b/src/remote/host.rs index 08f5d122..825ae10c 100644 --- a/src/remote/host.rs +++ b/src/remote/host.rs @@ -20,6 +20,8 @@ pub(crate) fn run_remote_client_bridge(args: &[String]) -> io::Result<()> { } }; ensure_remote_server_running()?; + #[cfg(unix)] + let _ssh_agent = super::ssh_agent::Registration::start(); let socket_path = crate::server::socket_paths::client_socket_path(); let stream = crate::ipc::connect_local_stream(&socket_path).map_err(|err| { -- cgit v1.2.3