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

cubanxcubanx
Community Member
edited September 13 in SSH

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:The system cannot find the file specified

Comments

  • cubanxcubanx
    Community Member

    No one has seen anything like this?

  • jody.h_1Pjody.h_1P

    Team Member

    Hey @cubanx thanks for the post! Just to double check, have you created or imported an SSH key in a private vault in 1Password, and then registered it with GitHub? You can find more information on that here.

    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 [email protected]
    

    And be able to successfully authenticate using 1Password.

  • cubanxcubanx
    Community Member
    edited September 14

    I had to go back to Gpg4Win which works.

    However, when I run that command now, I get: [email protected]: 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.

  • cubanxcubanx
    Community Member


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

  • cubanxcubanx
    Community Member

    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.

  • cubanxcubanx
    Community Member

    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!

  • jody.h_1Pjody.h_1P

    Team Member

    @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 this thread for some more info and to submit diagnostic info if you'd like.

  • cubanxcubanx
    Community Member

    Already submitted some diag info! Thanks for your help.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file