Last active
January 13, 2022 20:08
-
-
Save gnovaro/892aecdd8a2e19da72f3c4c2c8c6883b to your computer and use it in GitHub Desktop.
Bash profile for automatic loading ssh keys on login. Add this file in you home directory
This file contains hidden or 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 [ -z "$SSH_AUTH_SOCK" ] ; then | |
eval `ssh-agent -s` | |
ssh-add | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment