Skip to main content
March 25, 2022
Question

Git and Azure DevOPS: agent refused operation

  • March 25, 2022
  • 12 replies
  • 1215 views

I struggle getting my GIT repositories in Azure working with 1Password keeping my SSH keys. Beside that Azure does not support Ed25519 keys (sigh), so I had to create a RSA key for it, authentication with it fails as soon as I activate the two lines for "Host *" and "IdentityAgent" pointing to the 1Password socket:
--- 8< ---
sign_and_send_pubkey: signing failed for RSA "/Users/myuser/.ssh/id_rsa_azure.pub" from agent: agent refused operation
--- 8< ---
(it also fails without setting IdentityFile and IdentitiesOnly btw.)

Exporting the key and using old fashioned file based key authentication works though.

Working with other GIT servers works, so I think this is a "Azure-Thing".


1Password Version: 8.7.0 (80700012)
Extension Version: Not Provided
OS Version: 12.2.1 (21D62)

12 replies

August 11, 2022

Hi @zigford,

You can follow the instructions outlined here: https://support.1password.com/install-linux/#debian-or-ubuntu and replace "stable" with "edge" when adding the 1Password apt repository.

Let me know if you have other questions or run into any other issues!

August 18, 2022

Nice. I have installed the latest beta which has this feature.
It is working, but I had to download the public key and set it up like this:


Host *
IdentityAgent ~/.1password/agent.sock
AddKeysToAgent yes
Host ssh.dev.azure.com
HostName ssh.dev.azure.com
User git
PubkeyAcceptedAlgorithms ssh-rsa
HostkeyAlgorithms ssh-rsa
IdentityFile ~/.ssh/harrisj@19wbpf2-gentoo.pub
IdentitiesOnly yes