I want to use keychain to manage passphrase prompt for SSH keys, but it should 1) ask it only when I'm actually using key and 2) save it for some period of time after that. Currently I've 2 options:
$ eval `keychain --eval --agents ssh id_rsa`-- that will always ask for passphrase at start up but then it will save it.
$ eval `keychain --eval --noask --agents ssh id_rsa`-- that won't ask for anything on start up but then will keep asking for passphrase each time I will use that key.
Is there are any way to combine advantages of these methods?