Last active
September 7, 2018 08:54
-
-
Save beli-sk/25a3e36972875db9baca5303b241b1b6 to your computer and use it in GitHub Desktop.
Disable Gnome Keyring SSH agent in (X)Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable Gnome Keyring SSH agent in Ubuntu | |
# To allow using ssh-agent from OpenSSH, mainly because | |
# gnome-keyring does not like EC-type SSH keys | |
# as regular user (for which to disable): | |
systemctl --user mask gnome-keyring-ssh.service | |
pam-auth-update | |
# and disable "GNOME Keyring Daemon..." | |
# which probably also disables automatic keyring unlocking on login | |
echo X-GNOME-Autostart-Enabled=false >> /etc/xdg/autostart/gnome-keyring-ssh.desktop | |
# if using XFCE4: | |
xfce4-session-settings | |
# on 'Advanced' tab disable 'Launch GNOME services on startup' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment