A simple way to use the GNOME keyring for SSH key managment in fish shell
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
# Add this to the bottom of your config.fish file | |
# Set SSH to use Gnome keyring | |
set -gx SSH_AUTH_SOCK (gnome-keyring-daemon --start | grep "^SSH_AUTH_SOCK" | awk -F "=" '{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment