(Mac) SSH Agent uses different keys for pushing and pulling

devgenerate
devgenerate
Community Member

Hi. I use 1Password for mac, and I have two different github profile; one privat and one professional. I have read this and a few similar pages: https://developer.1password.com/docs/ssh/agent/advanced/
And have download the public keys into ~/.ssh, named them as github_prof and github_priv, and set up the host and identityFile accordingly.
If I run "git remote get-url origin", I see my desired path.

Still; whenever I try to push something, be it a new branch or commit, I`m always prompted to use my private key. At first I hit deny, expecting the next key to be offered to be the desired one. But the process shut down when I hit deny. So obviously, I granted access next time. And it works! Which it should not.

The biggest issue p.t is that my commits show up as unverified, and I do not like when things that should not work, work, without me understanding.

Can someone help?
I have triple checked that I have download two unique public keys, and only one of them is uploaded to my github professional profile.


1Password Version: 8.10.36
Extension Version: Not Provided
OS Version: 14.5
Browser: Not Provided

Comments