Terminal gets currupted when prompted for SSH key #1994

Closed
opened 2026-02-16 17:33:39 -05:00 by yindo · 3 comments
Owner

Originally created by @ashfaqfarooqui on GitHub (Oct 8, 2025).

Sometimes when running git commands, I get prompted for the SSH key on the terminal. When that happens, the UI starts misbehaving. I cannot enter any input; it starts printing out keycodes...

Image

P.S: I am using Kitty. A simple fix for this is to configure a polkit for the ssh key, but it would be a nice fix if it can be integrated in a fine manner.

Originally created by @ashfaqfarooqui on GitHub (Oct 8, 2025). Sometimes when running git commands, I get prompted for the SSH key on the terminal. When that happens, the UI starts misbehaving. I cannot enter any input; it starts printing out keycodes... <img width="525" height="64" alt="Image" src="https://github.com/user-attachments/assets/0d4b4fa8-665a-46d0-97fd-f3d9eacb2d74" /> P.S: I am using Kitty. A simple fix for this is to configure a polkit for the ssh key, but it would be a nice fix if it can be integrated in a fine manner.
yindo closed this issue 2026-02-16 17:33:39 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 8, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #535: Both issues involve keycodes being printed instead of normal terminal input functioning, though #535 is specifically about arrow keys after closing/reopening opencode while this one is triggered by SSH key prompts during git commands.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 8, 2025): This issue might be a duplicate of existing issues. Please check: - #535: Both issues involve keycodes being printed instead of normal terminal input functioning, though #535 is specifically about arrow keys after closing/reopening opencode while this one is triggered by SSH key prompts during git commands. Feel free to ignore if none of these address your specific case.
Author
Owner

@vasilvestre commented on GitHub (Oct 8, 2025):

Any interactive command breaks the tool, even the sudo password.
+1

@vasilvestre commented on GitHub (Oct 8, 2025): Any interactive command breaks the tool, even the sudo password. +1
Author
Owner

@rekram1-node commented on GitHub (Oct 8, 2025):

yeah we will probably address this post opentui migration

for now closing as duplicate of: #1852

@rekram1-node commented on GitHub (Oct 8, 2025): yeah we will probably address this post opentui migration for now closing as duplicate of: #1852
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1994