keepass-credential-ssh

Installation
SKILL.md

SSH Key Handling

Key Resolution Order (always follow this sequence)

  1. Run: ssh-add -l If a key matching the host or purpose is loaded, use it. No vault access needed.

  2. If not in agent: check ~/.ssh for an existing key file for this host. If found, load it with ssh-add and use it.

  3. 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
Installs
1
GitHub Stars
5
First Seen
Mar 18, 2026