-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Since configuring Git to use Windows SSH, SSH commands are broken #5277
Comments
Maybe the solution is as easy as appending a Line Feed character to that file? |
Tried that, didn't make a difference. |
What does |
Yeah, that's what I get. |
Can you run |
I just did that and it only returned |
Setup
2.47.1.windows.1, 64-bit
Windows 11, 64-bit
defaults?
to the issue you're seeing?
Details
Windows Terminal
Minimal, Complete, and Verifiable example
this will help us understand the issue.
After running
ssh-add
, I expected to be prompted for my key password and for it to add my key. After runningssh-add -l
, I expected to see my key listed.After running
ssh-add
and entering my key password, it respondsCould not add identity "C:\Users\me/.ssh/id_ed25519": invalid format
. After runningssh-add -l
, it respondserror fetching identities: invalid format
. The key files are definitely there. It should be noted that when I run these commands in the Windows Command Prompt they are successful. I confirmed thatssh-add
refers to the same program in both environments (i.e., C:\Windows\System32\OpenSSH\ssh-add.exe). The only thing I can think of is that the key was generated before I switched to using Windows SSH.URL to that repository to help us with testing?
The text was updated successfully, but these errors were encountered: