aboutsummaryrefslogtreecommitdiff
path: root/src/remote/host.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/host.rs')
-rw-r--r--src/remote/host.rs2
1 files changed, 2 insertions, 0 deletions
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| {