[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:
parent
b03a14ba63
commit
65a8a2f4a3
|
@ -28,3 +28,6 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
||||||
|
|
||||||
# Rust installation
|
# Rust installation
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
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)
|
||||||
|
|
Loading…
Reference in a new issue