-
Notifications
You must be signed in to change notification settings - Fork 767
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
ssh client on Windows7 fails "ssh_askpass: posix_spawn: No such file or directory" #1088
Comments
@llinyu - Enable more debugs logs, sshd.log (with DEBUG3 enabled), ssh logs (ssh -vvv user@ip). |
I am terribly sorry. I made a mistake. |
I don't think @llinyu made a mistake. I'm trying to get X forwarding working (long story) with the same setup described here, but it keeps failing with "ssh_askpass: posix_spawn: No such file or directory".
|
Have you solved it? |
I seem to have found a workaround: create an object \dev\tty (in C:), e.g. with |
For readability, issue was resolved from #966 Option 1:
Option 2: (Not recommended)
|
Sorry but unsetting DISPLAY is not a solution: you do need DISPLAY for X11 windows |
(Can someone re-open this, please... or tell me how to do?) |
Seems that the comment of cwg999 should have been about #966 (not 996). |
You are correct, I fixed my comment. |
I see the same problem with: |
mkdir \dev Fixed that issue, thanks |
I have the same problem on Cygwin64 on a freshly installed Windows 10 (installed today). |
|
I continue to have X Forwarding fail (it works via PuTTY) i've created C:\dev\tty per the recommended work around xterm: Xt error: Can't open display: |
@blakeduffey what's your client command line? Presume it's some form of ssh -X or -Y user@host? What's the host running? What version of sshd? |
./ssh -K [email protected] -Y Ubuntu 16.04.4 |
@blakeduffey Can you provide the output of |
@maertendMSFT Did a fix for this land in a shipping version of Windows? |
Hey, I've had the same problem today. Got it fixed with the \dev\tty solution. I still don't understand, why this is closed. Creating linux folders in Windows is not a real solution but only a workaround. This issue should not be tagged as closed! I'm looking forward to a real solution. |
Creating files in the root of C: is a short term workaround - I'm also not sure why this ticket would be closed. |
@maertendMSFT Ping. |
This has been fixed in the latest release on GitHub. The Windows FOD bits lag a bit behind. Please try the latest release: https://github.com/PowerShell/Win32-OpenSSH/releases |
By 'latest release' you mean v8.1.0.0p1-Beta released in Dec 2019? I feel like that is the version I was trying with when I posted in FEB... |
"OpenSSH for Windows" version
tested with versions v1.0.0.0-Beta
Client OperatingSystem
Windows 7 SP1 Professional
What is failing
On Windows 7, I can't connect to any ssh server using the ssh.exe client from this project. but putty works.
I have tried ssh.exe both in version v0.0.24.0 and v1.0.0.0-Beta without success.
I see the following:
#966
but no environment "DISPLAY" variable on my Windows 7
DISPLAY=localhost:0.0
Expected output
Actual output
The text was updated successfully, but these errors were encountered: