you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 year ago

I have

if [ -z "$SSH_AUTH_SOCK" ] ; then
    eval $(ssh-agent -s)
fi

At the end of .bashrc and

AddKeysToAgent yes

In .ssh/config so that it auto-adds keys I unlock.

  • source
  • parent