[ADD][SHELL] Use keychain as ssh-agent daemon

This program only launches one ssh-agent daemon for each session, which
is easier than handling ssh-agent by hand.
This commit is contained in:
Bruno BELANYI 2019-07-17 17:50:42 +02:00
parent b03a14ba63
commit 65a8a2f4a3

View file

@ -28,3 +28,6 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
# Rust installation
export PATH="$HOME/.cargo/bin:$PATH"
# Use keychain to handle only prompt for ssh keys once, when needed
eval $(keychain --eval id_rsa --quiet --nogui --noask)