Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
3 years agoSSH Agent Error: "error: Error: AppError { error: could not authenticate with ssh agent ..."
Hi,
I've been using SSH agent in 1Password 8 for both signing my commits and for authentication (push/pull).
The past couple of days I've been having this issue on my intel mac where it would n...
Former Member
3 years agoHi floris_1P – I am having the same issue as @ghosts. My intention is to simply use SSH for git (initially for one git user, and then later to add another). For now, I can't seem to get just one setup.
Some knowns:
- 1P is setup with two Organization accounts, one of which I am a member of, and another I am the owner of.
- The key/signing in question are stored in a Private folder in the later (account that I own)
- I am signed into both accounts on Mac M1 Desktop App
Here are some relevant outputs if helpful:
$ SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ssh-add -l
256 SHA256:-----KAKmM Github Access (ED25519)
256 SHA256:-----jNFvQ Github Signing (ED25519)
$ git config user.signingkey
```
ssh-ed25519 -----WOWk0
```
$ssh-add -L
The agent has no identities.
$ .ssh % cat config
```
Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
```
I'm happy to share known_hosts, known_hosts.old and id.rsa if needed as well.
And same as @ghosts, I am encountering the same issue:
```
error: Error: AppError { error: could not authenticate with ssh agent, location: Location { file: "ssh/op-ssh-sign/src/ops.rs", line: 95, col: 37 } }
fatal: failed to write commit object
```
Would love some help as when you google this only one result (this community page) appears.
Thanks in advance!
Jacob