This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THERE IS NOW A BETTER WAY TO DO THIS - SEE wsl-ssh-pageant | |
function sshagent_findsockets { | |
find /tmp -uid $(id -u) -type s -name agent.\* 2>/dev/null | |
} | |
function sshagent_testsocket { | |
if [ ! -x "$(which ssh-add)" ] ; then | |
echo "ssh-add is not available; agent testing aborted" | |
return 1 |