10 lines
279 B
Bash
10 lines
279 B
Bash
if [[ -e $HOME/.ssh/id_ed25519 ]]
|
|
then
|
|
command -v keychain > /dev/null && eval $(keychain --eval --quiet --noask $HOME/.ssh/id_ed25519)
|
|
fi
|
|
|
|
if [[ -e $HOME/.ssh/id_rsa ]]
|
|
then
|
|
command -v keychain > /dev/null && eval $(keychain --eval --quiet --noask $HOME/.ssh/id_rsa)
|
|
fi
|