Created
January 21, 2020 01:03
-
-
Save islamz1214/630407eec72d047276d14fbda2593f9b to your computer and use it in GitHub Desktop.
SSH Agent script
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 ps -p $SSH_AGENT_PID > /dev/null | |
then | |
echo "ssh-agent is already running" | |
else | |
eval `ssh-agent -s` | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment