I want to put
ssh-add /path/to/special_key at the top of a script. This works fine, but it always prompts for the passphrase. This is strange, and a little annoying, as it still asks for the passphrase even when
ssh-add -l shows the key has already been added.
Is there a way to tell it: "add this key and ask the passphrase if not already been added, otherwise do nothing" ?