Skip to main content
September 13, 2022
Question

GitHub SSH signing error: The system cannot find the file specified

  • September 13, 2022
  • 8 replies
  • 1438 views

Hello!

I'm getting this error when trying to use ssh signing:
error: Error: AppError { error: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }, location: Location { file: "ssh\\op-ssh-sign\\src\\ops.rs", line: 41, col: 52 } }

I added the SSH key from the GitHub page.

If I try to run C:\Users\cuban\AppData\Local\1Password\app\8\op-ssh-sign.exe directly, it starts the process of creating a new key.

I can do that, but I suspect that's not the "right" way, although I bet it will work :)

This is on Windows 11, git version: 2.37.3.windows.1


1Password Version: 8.9.5
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided
Referrer: forum-search:https://1password.community/search?Search=The%20system%20cannot%20find%20the%20file%20specified

8 replies

September 14, 2022

No one has seen anything like this?

September 14, 2022

Hey @cubanx thanks for the post! Just to double check, have you https://developer.1password.com/docs/ssh/manage-keys/ in a private vault in 1Password, and then registered it with GitHub? You can find more information on that https://developer.1password.com/docs/ssh/git-commit-signing.

One other thing that would help ensure you are on the right path is if you can authenticate using the key stored in 1Password. With the public key added to GitHub as an Authentication key, you should be able to run:


ssh -T git@github.com

And be able to successfully authenticate using 1Password.

September 14, 2022

I had to go back to Gpg4Win which works.

However, when I run that command now, I get: git@github.com: Permission denied (publickey).

Maybe that's part of the problem? I have Gpg4Win set up and working, could that collide with getting it working in 1Password?

Also, yes, I have it a Private vault, and it's registered on GitHub.

September 14, 2022


Here's a couple of screenshots of the setup. Let me know what else could help.

September 14, 2022

UGH, never mind. I had a specific singing key set up in my current repo, but the 1Password app added it to global config.

I moved the changes over to the specific repo config and it seems to be working.

September 14, 2022

Now I'm running into the prompt running for every SSH request. I'll turn it off for a bit and wait for a few versions, unless you need my diagnostic info.

Thanks!

September 15, 2022

@cubanx Thanks for sharing your updates, and sorry about all the headache! I'm glad to see you have it up and running now. As for the prompting frequency, I know the team is actively working on some improvements for this. Check out https://1password.community/discussion/129697/need-help-with-ssh-prompting-frequency#latest for some more info and to submit diagnostic info if you'd like.

September 15, 2022

Already submitted some diag info! Thanks for your help.