-
Notifications
You must be signed in to change notification settings - Fork 738
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
Powershell accepts input on the daemons prompt, not the clients #16
Comments
Known limit now - cmd.exe shell runs but Powershell does not. Our win32 port of sshd server does not provide a console as input in pty/tty mode and powershell seems to need a console input to run in interactive mode. Notice cmd.exe shell does not have this need and so runs fine. |
"powershell -File -" invocation will make it work now as it is a known issue of powershell. |
Invoke as follows to make it work: From a cmd.exe remote shell: |
@quamrulmina This didn't work for me. When I enter powershell -File - I just receive "powershell -File" twice as output, but PowerShell commands still don't work. Only cmd.exe shell works. |
In the upcoming release it has been fixed and "ssh user@domain@hostname powershell -File -" will work. But it will work even better if you launch powershell after getting to the interactive shell, cmd.exe, in this case so that pty support like echo characters are available: |
Fixed in latest release. |
Why is this closed? There's a workaround ( |
This bug was fixed, powershell's io is sent over ssh instead of using the sshd's console |
Thanks @ariscop! |
https://youtu.be/dVPuI8HrE00
Launching powershell directly (ssh localhost powershell) has the same behavior
The text was updated successfully, but these errors were encountered: