Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-J failed with "posix_spawn: No such file or directory" #1711

Closed
zcattacz opened this issue Dec 1, 2020 · 2 comments
Closed

-J failed with "posix_spawn: No such file or directory" #1711

zcattacz opened this issue Dec 1, 2020 · 2 comments

Comments

@zcattacz
Copy link

zcattacz commented Dec 1, 2020

Troubleshooting steps
https://github.com/PowerShell/Win32-OpenSSH/wiki/Troubleshooting-Steps

Add ProxyJump $SomeOtherHost to ~/.ssh/config or pass -J switch when calling ssh.exe

Terminal issue? please go through wiki
https://github.com/PowerShell/Win32-OpenSSH/wiki/TTY-PTY-support-in-Windows-OpenSSH

Please answer the following

"OpenSSH for Windows" version
((Get-Item (Get-Command sshd).Source).VersionInfo.FileVersion)
7.7.2.2

Server OperatingSystem
((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows nt\CurrentVersion\" -Name ProductName).ProductName)
N/A

Client OperatingSystem
Win10 x64 Enterprise

What is failing

Expected output

user@host~#

Actual output

C:\Users\Administrator\.ssh>ssh router3
CreateProcessW failed error:2
posix_spawn: No such file or directory
@zcattacz zcattacz changed the title - failed with posix_spawn: No such file or directory -J failed with "posix_spawn: No such file or directory" Dec 1, 2020
@mgkuhn
Copy link

mgkuhn commented Dec 3, 2020

Duplicate of #1172 and fixed in current release 8.1?

@matso42
Copy link

matso42 commented Nov 25, 2022

@maertendMSFT
Please close since fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants