WT and git bash ssh-add not accepting passphrase #9836

Open
opened 2026-01-31 02:05:10 +00:00 by claunia · 0 comments
Owner

Originally created by @chrismetz on GitHub (Jul 25, 2020).

Environment

Windows build number: Windows Version 2004 (OS Build 19041.388)
Windows Terminal version (if applicable): 1.1.2021.0

Any other software?
git bash: 4.4.23(1)-release (installed with git for windows 2.27.0.windows.1)

Steps to reproduce

Unable to reliably reproduce, sometimes it works and other times it does not.

Expected behavior

  1. Start ssh-agent via eval $(ssh-agent -s)
  2. Add ssh key using ssh-add ~/.ssh/id_rsa
  3. Paste ssh key passphrase and have ssh key added.

Actual behavior

  1. Start ssh-agent via eval $(ssh-agent -s)
  2. Add ssh key using ssh-add ~/.ssh/id_rsa
  3. ssh key passphrase is not being accepted. In the below screen show I have attempted to insert the passphrase using ctrl + shift + V multiple times. When it was not accepted I exited the process with ctrl + c and attempted again. A no point did I change the value stored in the clipboard but it was finally accepted.

image

Originally created by @chrismetz on GitHub (Jul 25, 2020). # Environment Windows build number: Windows Version 2004 (OS Build 19041.388) Windows Terminal version (if applicable): 1.1.2021.0 Any other software? git bash: 4.4.23(1)-release (installed with git for windows 2.27.0.windows.1) # Steps to reproduce Unable to reliably reproduce, sometimes it works and other times it does not. # Expected behavior 1. Start ssh-agent via ***eval $(ssh-agent -s)*** 2. Add ssh key using ***ssh-add ~/.ssh/id_rsa*** 3. Paste ssh key passphrase and have ssh key added. # Actual behavior 1. Start ssh-agent via ***eval $(ssh-agent -s)*** 2. Add ssh key using ***ssh-add ~/.ssh/id_rsa*** 3. ssh key passphrase is not being accepted. In the below screen show I have attempted to insert the passphrase using ctrl + shift + V multiple times. When it was not accepted I exited the process with ctrl + c and attempted again. A no point did I change the value stored in the clipboard but it was finally accepted. ![image](https://user-images.githubusercontent.com/16770430/88443632-5bc26100-ce5c-11ea-810c-0249eb025eb3.png)
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 02:05:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9836