Goal
Stop Gnome keyring for managing ssh-agent on Ubuntu so you can use the original OpenSSH ssh-agent implementation.Quick Solution
The solution is quite easy because Gnome Keyring daemon provide a way to replace the existing session.$ gnome-keyring-daemon --replace --daemonize --components=pkcs11,secrets,gpgCommand above will replace the existing Gnome Keyring daemon but it removes the ability to manage the ssh agent. You can execute command below to make sure Gnome keyring does not manage the ssh agent anymore.
$ ssh-add -l Could not open a connection to your authentication agent.
Permanent Solution
Quick solution will not persist once you logged out or restart Xubuntu. To make it permanent the command need to be added on Session and Startup.- Go to Menu > Settings > Session and Startup
- Click Application Autostart tab
- Click Add button
- New application window will appear, you can fill it like example below
- Name: SSH Keyring Remover
- Description: Remove SSH from GNOME Keyring
- Command:
gnome-keyring-daemon --replace --daemonize --components=pkcs11,secrets,gpg
- Click OK
0 comments:
Post a Comment