0

I added a script in my .bashrc to start ssh agent, but the passphrase is asked directly after logging, so I need to have my long password with me, is it possible to adding into the script and run it automatically?

if [ -z "$SSH_AUTH_SOCK" ] ; then
 eval `ssh-agent -s`
  ssh-add
fi

4

0

You must log in to answer this question.

Browse other questions tagged .