Tritonio

gpg-agent is not allowed to handle ssh keys by gnome-keyring

May 1st, 2020
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. I had the same problem (same symptoms)
  2.  
  3. sam@xxxxx:~/.ssh$ ssh [email protected]
  4. sign_and_send_pubkey: signing failed: agent refused operation
  5. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
  6. ... but the solution was different.
  7.  
  8. The problem was coming from the use of GNOME-KEYRING. The post referring to the solution may be read here.
  9.  
  10. In short:
  11.  
  12. Detect the problem by adding SSH_AUTH_SOCK=0 in front of the ssh command. sam@xxxxx:~/.ssh$ SSH_AUTH_SOCK=0 ssh [email protected]
  13. In case it succeed to connect. Open the application StartUp Application (by using the search function of the Desktop for example) and disable the use of gnome-keyring.
  14. Reboot
  15. The page provide other details in case of similar problem with different solution.
Add Comment
Please, Sign In to add comment