I am using Ubuntu 22.04. This is an unusual question since most users want to make the ssh agent remember the password once it is entered per user session. I would like it to ask for the password every time I am using ssh (mostly for git pull and push purposes). I have tried to set
Host *
AddKeysToAgent no
to my ~/.ssh/config
file. I have checked that the .bashrc
is not storing the password in an environment variable. Can anyone please help me make ssh ask for the passphrase every time?
Thank you.