Skip to content

Instantly share code, notes, and snippets.

@harish2704
Created May 13, 2016 07:24
Show Gist options
  • Save harish2704/becd3d4d65afb27677e290628aa89160 to your computer and use it in GitHub Desktop.
Save harish2704/becd3d4d65afb27677e290628aa89160 to your computer and use it in GitHub Desktop.
Setup ssh-agent
# To start agent
# echo $(ssh-agent) > ~/.ssh_agent_env
cat<<EOF >> ~/.profile
# For setting up ssh-agent
if [ -f "$HOME/.ssh_agent_env" ]; then
. "$HOME/.ssh_agent_env"
fi
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment