keepass-credential-ssh
Installation
SKILL.md
SSH Key Handling
Key Resolution Order (always follow this sequence)
-
Run: ssh-add -l If a key matching the host or purpose is loaded, use it. No vault access needed.
-
If not in agent: check ~/.ssh for an existing key file for this host. If found, load it with ssh-add and use it.
-
If not in ~/.ssh: retrieve from KeePass via get_attachment. Provision the key to ~/.ssh or load directly into the agent as appropriate.
RULE: Never retrieve a KeePass SSH key attachment if the key is already available locally or in the agent.
NOTE: KeePassXC SSH agent integration auto-loads vault keys into the agent on vault unlock. For routine SSH connections, the key will already be in the agent; no vault access required.
Storage
Related skills