Skip to main content
April 14, 2023
Question

"SSH authorization model was set incorrectly, dropping signature request" when signing git commit

  • April 14, 2023
  • 6 replies
  • 878 views

I set up the SSH Agent, and added the config for signing git commits. However, when I actually commit, it fails with the error:
```
error: agent returned an error

fatal: failed to write commit object
```

Looking in the logs, that seems to correspond to a message like

ERROR 2023-04-14T13:49:50.092 tokio-runtime-worker(ThreadId(7)) [1P:ssh/op-ssh-agent/src/lib.rs:583] SSH authorization model was set incorrectly, dropping signature request

I couldn't find any documentation that suggested a specific resolution for that error, any pointers?


1Password Version: 8.10.4
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided
Referrer: forum-search:https://1password.community/search?Search=SSH%20authorization%20model%20was%20set%20incorrectly%2C%20dropping%20signature%20request

6 replies

April 14, 2023

I'm in process of setting up a new M2 MacBook Pro and get the same exact error. I've been using 1password ssh agent just fine on my intel mac for some time now.

April 14, 2023

Error in the terminal when attempting to clone a git repo:

sign_and_send_pubkey: signing failed for RSA "personal ssh key" from agent: agent refused operation
mailto:git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Specific error in the log I'm seeing is:

ERROR 2023-04-14T18:21:18.270 tokio-runtime-worker(ThreadId(12)) [1P:ssh/op-ssh-agent/src/lib.rs:583] SSH authorization model was set incorrectly, dropping signature request

But i can clone the same repo on my old intel-based mac just fine when using 1password SSH Agent 🤔

April 15, 2023

I am having the same error after setting up the SSH agent on a new M2 Mac mini. It works on my M2 MacBook Pro.

Log Reads: ERROR 2023-04-15T21:55:54.833 tokio-runtime-worker(ThreadId(8)) [1P:ssh/op-ssh-agent/src/lib.rs:583] SSH authorization model was set incorrectly, dropping signature request

This was using a SSH key locally to one of my servers.

April 16, 2023

So after a log out and log in the problem seemed to go away.

April 24, 2023

https://1password.community/discussion/139580/why-are-my-ssh-attempts-failing had a fix that worked for me.

May 16, 2023

As with @cpennington, this worked for me: https://1password.community/discussion/139580/why-are-my-ssh-attempts-failing

"open the 1Password app and navigate to Settings -> Developer -> SSH Agent -> Security and change the "Ask approval for each new..." setting to some other value and then change it back to the setting you prefer?"