All pastes #768715 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-10 21:00 UTC
rendered paste body
# to be sourced
if test -f $HOME/.ssh-agent-info; then
    . $HOME/.ssh-agent-info
    if ! kill -0 $SSH_AGENT_PID 2>/dev/null; then
        eval `ssh-agent -s | tee $HOME/.ssh-agent-info`
    fi
else
    eval `ssh-agent -s | tee $HOME/.ssh-agent-info`
fi
chmod 600 $HOME/.ssh-agent-info