blob: 5f0eec2570f8acceec447a28d94165bf2227abe2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#
# This is an example of what an ssh-agent(1) user might add to their
# .profile to get a single ssh-agent process
SSH_AUTH_SOCK=$HOME/.ssh/agentsocket
export SSH_AUTH_SOCK
if [ \! -r "$SSH_AUTH_SOCK" ]
then
ssh-agent -a $SSH_AUTH_SOCK
/usr/local/bin/xlockssh-add.sh
fi
|