Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 370 Bytes
# If this is my server (the only machine I forward an SSH agent to) then make
# sure the socket is correctly setup with a link in ~/.ssh-agent-sock
if [[ `hostname -s` == "sebastian" && -n $SSH_AUTH_SOCK ]]; then
if [[ $SSH_AUTH_SOCK == /tmp/* ]]; then
ln -sf $SSH_AUTH_SOCK $HOME/.ssh-agent-sock
export SSH_AUTH_SOCK=$HOME/.ssh-agent-sock
You can’t perform that action at this time.