Compare commits
No commits in common. "1af381d3cd316bacb025eb42a0b81ebb75f087fa" and "d8e39f249ae099c625802103e944e558aa07a745" have entirely different histories.
1af381d3cd
...
d8e39f249a
12
bin/ssh
12
bin/ssh
@ -19,9 +19,17 @@ function dssh {
|
||||
echo succeeded
|
||||
chmod 600 "$SSH_ENV"
|
||||
. "$SSH_ENV" >/dev/null
|
||||
/usr/bin/ssh-add ~/.ssh/gitea_ssh
|
||||
else
|
||||
echo "No agent necessary"
|
||||
fi
|
||||
}
|
||||
|
||||
/usr/bin/ssh-add ~/.ssh/gitea_ssh
|
||||
}
|
||||
if [ -f "$SSH_ENV" ]; then
|
||||
. "$SSH_ENV" >/dev/null
|
||||
ps -ef | grep $SSH_AGENT_PID | grep ssh-agent$ >/dev/null || {
|
||||
dssh
|
||||
}
|
||||
else
|
||||
dssh
|
||||
fi
|
||||
Loading…
Reference in New Issue
Block a user