From 984a5561da373c5119f497a3676473f32ef81bd4 Mon Sep 17 00:00:00 2001 From: Manoj Ampalam Date: Mon, 4 Feb 2019 14:07:28 -0800 Subject: [PATCH] C1 --- ssh.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssh.c b/ssh.c index bf4f28fe647..6343f2fd58e 100644 --- a/ssh.c +++ b/ssh.c @@ -1190,7 +1190,11 @@ main(int ac, char **av) options.proxy_use_fdpass = 0; snprintf(port_s, sizeof(port_s), "%d", options.jump_port); xasprintf(&options.proxy_command, +#ifdef WINDOWS + "%s%s%s%s%s%s%s%s%s%s%.*s -W \"[%%h]:%%p\" %s", +#else "%s%s%s%s%s%s%s%s%s%s%.*s -W '[%%h]:%%p' %s", +#endif sshbin, /* Optional "-l user" argument if jump_user set */ options.jump_user == NULL ? "" : " -l ",