Commit 486d3a1f authored by Klink's avatar Klink

New prerelease 2 (on top of 3.502)

parent 194ad7cc
stalag13-utils (3.502+2-20180602) unstable; urgency=low
* Upstream prerelease
-- Mathieu Roy <klink@bender.stalag13.ici> Sat, 02 Jun 2018 11:47:08 +0200
stalag13-utils (3.502+1-20180527) unstable; urgency=low
* Upstream prerelease
# skip already sourced
[ "`type -f sshwithauthsock 2>/dev/null`" ] && return
function sshwithauthsock {
if [ ! -S ~/.ssh/ssh_auth_sock ]; then
eval `ssh-agent`
ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock
fi
export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock
ssh-add -l > /dev/null || ssh-add
"$@"
}
alias ssh='sshwithauthsock ssh'
alias scp='sshwithauthsock scp'
# EOF
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment