The bigger issue here is your ssh program is not generating and storing the key in the keychain. Storing keys in regular files is not secure.