Skip to main content
August 26, 2023
Question

No SSH private key found when using Git

  • August 26, 2023
  • 2 replies
  • 5840 views

Hello, I am trying to add my GitHub SSH to 1password. When I try to do git fetch or git pull from a private repo I have access to it works like it should. When I try to commit something I get an error where it states

```
$ git commit -m "Initial Commit" -s

error: No SSH private key found for the specified public key:
ssh-ed25519 AAAAC3Nza...

Make sure the SSH key is saved in your Personal or Private vault (default)
or added to your SSH agent config file (custom).

See https://developer.1password.com/docs/ssh/agent/config/ for more information.

fatal: failed to write commit object
```

I have saved the ssh key to 1password application on my Macbook. Anybody know how to fix this?


1Password Version: 8.10.13
Extension Version: Not Provided
OS Version: macOS 13.3
Browser: Not Provided

2 replies

August 26, 2023

I have resolved the issue. I had to configure Git Commit Signing within the 1Password Application.

1P_Timothy
Community Manager
August 31, 2023

Hi @DevShaded, thanks for writing in and for sharing this update. I'm glad the issue is now resolved. Let us know if there's anything else we can help with!