1Password on Mastodon

Problems with (some?) ssh-git interaction

Community Member


I've just moved from Intel to Apple silicon, and am having trouble with ssh and 1password. ~/.ssh/config seems to be correct, containing

Host *
    IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"

Some interactions work, but when I try to commit I get the following:

$ git commit -m "add test"
error: error: Found argument '-U' which wasn't expected, or isn't valid in this context

  If you tried to supply -U as a value rather than a flag, use -- -U

  op-ssh-sign [OPTIONS] -Y <mode> [--] [payload]

For more information try --help

fatal: failed to write commit object

It seems to be working fine on another Apple Silicon machine...

1Password Version: 8.10.3 (81003001)
Extension Version: Not Provided
OS Version: macOS 13.2.1
Browser:_ Not Provided
Referrer: forum-search:Found argument '-U' which wasn't expected, or isn't valid in this context


  • a.jaffea.jaffe
    Community Member

    Aha, it’s the same as this issue, apparently having to do with a new version of git.

  • Jack.P_1PJack.P_1P

    Team Member

    Hi @a.jaffe:

    You're absolutely, right, and I'd like to apologize for the delay here. I see we got this sorted out in a recent update to 1Password, so please get in touch if there's anything else we can help you with.


Leave a Comment

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