added key to agent? i thought I had already done

Thought I had pushed this already.  So a little confused.  Not sure
whats going on with this.
This commit is contained in:
Russell Riker 2023-06-24 16:17:37 -04:00
parent abe7f77492
commit 60d7ace60c
1 changed files with 5 additions and 0 deletions

View File

@ -156,11 +156,16 @@ export CGO_LDFLAGS_ALLOW="-Wl,-Bsymbolic-functions"
echo $HOSTNAME
if [ $HOSTNAME != 'tilde' ]; then
# Set up ssh-agent using keychain
echo " **************** Loading Keychain for remote logins ******************"
/usr/bin/keychain --nogui $HOME/.ssh/id_ed25519
#/usr/bin/keychain --nogui $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOSTNAME-sh
echo "*** Keychain loaded ***"
fi
# Make things look colorful
clear
#Look in my ascii-art folder, and use shuf to get a randome file name.
BANNERFILE=$(ls ~/mydocs/ascii-art/ | shuf -n 1)
# Then use lolcat to display the colorful ascii art file