Enable SSH keys on startup in KeePass with KeeAgent plugin
To do so you need a KeePass entry with the private key file attached and allow KeeAgent to use this entry.
- Create a new entry
Go to the Advanced tab and add your private key as an attachment
Go to the KeeAgent tab and check "Allow KeeAgent to use this entry"
Select the key file from the "Private Key File Location" dropdown
- Save and close the entry
Now open Tools → KeeAgent from the menu and select Add → From KeePass
This should add the key automatically every time you unlock your database.