11
includes/bash_ssh.bash.disabled
Normal file
11
includes/bash_ssh.bash.disabled
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
if [ -z "$SSH_AUTH_SOCK" ] ; then
|
||||
eval `ssh-agent -s`
|
||||
fi
|
||||
|
||||
KEY="$HOME/.ssh/work"
|
||||
|
||||
[ -f $KEY ] || return;
|
||||
|
||||
ssh-add -l | grep $KEY > /dev/null || ssh-add $KEY
|
||||
|
Reference in New Issue
Block a user