I'm using Yosemite and store the ssh passphrase in a separate keychain (not the login keychain). This all works fine as long as the keychain is unlocked. When I lock the keychain, I expected ssh to ask me for the keychain password, instead it asks me for the passphrase of the key. If I unlock the keychain manually before trying to use ssh, it works fine. Is this a bug, or can this be fixed by some setting?