ssh with proxyjump on windows 10

Damien Miller djm at mindrot.org
Tue Apr 9 04:09:25 AEST 2019


On Sun, 7 Apr 2019, Josh Soref wrote:

> > ssh -v test
> OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
> debug1: Reading configuration data C:\\Users\\jsore/.ssh/config
> debug1: C:\\Users\\jsore/.ssh/config line 11: Applying options for test
> debug1: Setting implicit ProxyCommand from ProxyJump: ssh -v -W '[%h]:%p' apple
> debug1: Executing proxy command: exec ssh -v -W '[test]:22' apple
> CreateProcessW failed error:2
> posix_spawn: No such file or directory
> 
> https://github.com/openssh/openssh-portable/blob/c327813ea1d740e3e367109c17873815aba1328e/ssh.c#L1180
> 
> It doesn't appear there's an easy way to tell openssh that I need to
> use `ssh.exe` instead of `ssh`.
> 
> For 8.1, could something be adjusted to make this work?
> 
> Note: running `ssh -v -W "[test]:22" apple` almost works

I'm confused: I thought the .exe suffix wasn't mandatory on Windows?

Is this Cygwin or the Microsoft OpenSSH port?

-d


More information about the openssh-unix-dev mailing list