Ubuntu SSH Fix for “Agent admitted failure to sign using the key” For the past few weeks I’ve had problems logging into servers using my SSH keys from Ubuntu desktops. The following would happen each time: [ chris@work ~ ]$ ssh server Agent admitted failure to sign using the key. Permission denied (publickey). [ chris@work ~ ]$ Oddly, this only happened from my Ubuntu desktop systems. My Ubuntu servers had no issue connecting. After some digging, I found out that issues with the gnome-keyring were at fault. gnome-keyring doesn’t always handle specific formats of SSH keys correctly. Unfortunately, gnome-keyring was trying to handle all SSH key usage, preventing the keys from working. If you are having this issue, you can confirm that gnome-keyring is at fault on your system by added SSH_AUTH_SOCK=0 in front of the ssh command as follows: [ chris@work ~ ]$ SSH_AUTH_SOCK=0 ssh server Welcome to Ubuntu 14.10 (GNU/Linux 3.13.0-37-generic x86_64) * ...