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's avatar
Former Member
2 years ago

Problems with (some?) ssh-git interaction

Hi,

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

USAGE:
op-ssh-sign [OPTIONS] -Y [--] [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

  • Former Member's avatar
    Former Member

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

  • Jack_P_1P's avatar
    Jack_P_1P
    Icon for 1Password Team rank1Password Team

    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.

    Jack