Use ssh-add -q
This commit is contained in:
parent
28980dfd63
commit
5cf5cb936a
|
@ -1,6 +1,4 @@
|
||||||
if [[ -z $SSH_CONNECTION ]] && [[ $HOSTNAME != "toolbox" ]]; then
|
if [[ -z $SSH_CONNECTION ]] && [[ $HOSTNAME != "toolbox" ]]; then
|
||||||
{
|
eval "$(ssh-agent)" &> /dev/null
|
||||||
eval "$(ssh-agent)"
|
ssh-add -q ~/.ssh/id_^*.pub
|
||||||
ssh-add ~/.ssh/id_^*.pub
|
|
||||||
} &> /dev/null
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue