I am completely lost here.
I found out about storing ssh private keys (of which I have a lot of) in my keepass database. Before I had a bash script with a simple menu that would just use ssh -i and get the priv key file locally from the .ssh directory. The end goal here is to make a centrally available database of both passwords and private keys to utilize across different devices.
I have since put all my ssh private keys in my keepass database and I am trying to figure out how to integrate keepass/keeagent with the bash terminal.
But I think I have misunderstood what keepass can actually do. What I want to do is open my keepass database, run my existing bash script and be able to bring up an ssh session that way.
I've been trying to look into using ssh-agent, but I have actually no idea what I am doing there or how that operates. All the information I find online is walking through steps way above me or options that don't use the terminal.
So, is there a way I can run a command like this: ssh -i KEEPASS-DB-PRIVKEY user@ip
or is that just not a capability of keepass/keeagent/sshagent?
I am on ubuntu 20.04 with KDE plasma as desktop. I have keepass2 (2.44) with keeagent plugin installed.