Created
December 16, 2016 08:40
-
-
Save cyb3rd4d/48f562e2a8748ae5448a95ca5163e0d0 to your computer and use it in GitHub Desktop.
Load ssh keys on MacOS Sierra (Oh My ZSH plugin)
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
# Load ssh keys | |
ssh-add -l >> /dev/null | |
if [ ! $? -eq 0 ]; then | |
echo "SSH keys loading..." | |
ssh-add -A | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment