fixing ssh-agent problem, using keychain.

This commit is contained in:
Russell R. 2020-09-25 01:21:28 -04:00
parent 1b4c03822a
commit 865d9ab3a2
2 changed files with 5 additions and 4 deletions

View File

@ -136,7 +136,10 @@ echo '**************************************************'|lolcat
cowsay -f tux "Welcome Dr. The system is ready to accept your commands. Have a nice day" | lolcat
echo '**************************************************'|lolcat
echo ''
eval $(ssh-agent -s)
# Set up ssh-agent using keychain
/usr/bin/keychain --nogui $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOSTNAME-sh
# Run fish
fish
# fish

View File

@ -6,8 +6,6 @@
# *
# ***************************************************************************
# load ssh-agent
eval (ssh-agent -c)
set PATH ~/.local/bin $PATH
# go to my wsl home folder