如何禁用SSH和GPG的密钥环?
我想把钥匙环保留在wifi和其他东西上。我用的是Ubuntu12.04。
发布于 2012-11-06 08:13:58
首先将文件/etc/xdg/autostart/gnome-keyring-ssh.desktop复制到~/.config/autostart/中。
然后编辑~/.config/autostart/gnome-keyring-ssh.desktop以删除以下行:
NoDisplay=true并在末尾添加以下一行:
X-GNOME-Autostart-enabled=false这将在您重新启动会话时禁用SSH管理。若要禁用GPG,请对文件/etc/xdg/autostart/gnome-keyring-gpg.desktop进行同样的操作。
发布于 2016-08-02 09:10:37
要阻止gnome-keyring在Ubuntu16.04上启动其(坏的) SSH代理:
mkdir ~/.config/upstart || true
echo manual > ~/.config/upstart/gnome-keyring-ssh.override
# This step can be done with the gnome-session-properties tool
mkdir ~/.config/autostart || true
cp /etc/xdg/autostart/gnome-keyring-ssh.desktop ~/.config/autostart
echo 'X-GNOME-Autostart-enabled=false' >> ~/.config/autostart/gnome-keyring-ssh.desktophttps://askubuntu.com/questions/162850
复制相似问题