From 65a8a2f4a3ff9f07f3decb768b992bd9c892e178 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 17 Jul 2019 17:50:42 +0200 Subject: [PATCH] [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. --- shell/.profile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell/.profile b/shell/.profile index e62e293..4143ffe 100644 --- a/shell/.profile +++ b/shell/.profile @@ -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)