Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

protect .ssh-agent-config

  • Loading branch information...
commit 3918b4aaeae4a9c41767788e7798f8f14813d596 1 parent 4acf95e
@mpapis authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  .functions
View
1  .functions
@@ -177,6 +177,7 @@ __setup_ssh_agent()
fi
ssh-agent > $agent_file
+ chmod 600 $agent_file
source $agent_file >/dev/null
if [[ -t 0 ]] && ! ssh-add -l | grep $HOME/.ssh/id_rsa >/dev/null
Please sign in to comment.
Something went wrong with that request. Please try again.