Created
February 6, 2019 23:03
-
-
Save andrewnicolalde/9cdcbea1fac655beb0586032db22d2ff to your computer and use it in GitHub Desktop.
YubiKey SSH Fedora Gnome
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
if ! pgrep -u $USER -f "gpg-agent.*enable-ssh-support" > /dev/null | |
then | |
pkill gpg-agent | |
gpg-agent --homedir $HOME/.gnupg --daemon --enable-ssh-support | |
fi | |
SSH_AUTH_SOCK=$(gpgconf --list-dir agent-ssh-socket) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment