python scripts doesnt accept input #14563

Closed
opened 2026-01-31 04:13:41 +00:00 by claunia · 4 comments
Owner

Originally created by @ai94iq on GitHub (Jul 17, 2021).

Windows Terminal version (or Windows build number)

10.0.22000.0

Other Software

Python 3.9.6 within terminal

Steps to reproduce

when i do anything gerrit related for the first time on a fresh install, i get a question to allow this device to connect to gerrit host or not, so just answer with yes or no to finish the scipt, this is the script

Expected Behavior

terminal allows me to input an answer to procced with the script

Actual Behavior

terminal just freezes at that input field and wont let me enter anything

Screenshot 2021-07-17 135731

Originally created by @ai94iq on GitHub (Jul 17, 2021). ### Windows Terminal version (or Windows build number) 10.0.22000.0 ### Other Software Python 3.9.6 within terminal ### Steps to reproduce when i do anything gerrit related for the first time on a fresh install, i get a question to allow this device to connect to gerrit host or not, so just answer with yes or no to finish the scipt, this is [the script](https://gist.github.com/abdoi94/b0670565f31f51ca66a867943f82da8c) ### Expected Behavior terminal allows me to input an answer to procced with the script ### Actual Behavior terminal just freezes at that input field and wont let me enter anything ![Screenshot 2021-07-17 135731](https://user-images.githubusercontent.com/5349989/126034756-17794f6e-46f3-47d0-9904-29bd4b88769b.png)
claunia added the Needs-TriageResolution-ExternalNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:13:41 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jul 19, 2021):

Thanks for linking the script! That makes debugging much easier. That looks like your ssh client isn't accepting the input, not python. Which ssh are you using? ssh.exe that ships with Windows? ssh from a WSL distro? Or some other ssh? And which version of ssh?

@zadjii-msft commented on GitHub (Jul 19, 2021): Thanks for linking the script! That makes debugging much easier. That looks like your `ssh` client isn't accepting the input, not python. Which `ssh` are you using? `ssh.exe` that ships with Windows? `ssh` from a WSL distro? Or some other `ssh`? And which version of `ssh`?
Author
Owner

@ai94iq commented on GitHub (Jul 19, 2021):

Hello there, this happned only when i ran it within windows, i have latest OpenSSH installed from Settings

ssh -V
OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

on the other hand Ubuntu running within WSL accepted input when i ran the same script
Screenshot 2021-07-19 182852

@ai94iq commented on GitHub (Jul 19, 2021): Hello there, this happned only when i ran it within windows, i have latest OpenSSH installed from Settings ``` ssh -V OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2 ``` on the other hand Ubuntu running within WSL accepted input when i ran the same script ![Screenshot 2021-07-19 182852](https://user-images.githubusercontent.com/5349989/126185939-0a7c86e5-d333-4676-a84f-05812061a5cb.png)
Author
Owner

@zadjii-msft commented on GitHub (Jul 19, 2021):

That's what I thought. This sounds like an issue with ssh.exe itself, you should report this over at https://github.com/PowerShell/Win32-OpenSSH/issues

@zadjii-msft commented on GitHub (Jul 19, 2021): That's what I thought. This sounds like an issue with `ssh.exe` itself, you should report this over at https://github.com/PowerShell/Win32-OpenSSH/issues
Author
Owner

@ai94iq commented on GitHub (Jul 19, 2021):

Thanks @zadjii-msft, i just open an issue in there

Have a nice day

@ai94iq commented on GitHub (Jul 19, 2021): Thanks @zadjii-msft, i just open an issue in there Have a nice day
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14563