Setting up KeeAgent on Linux is quite easy:

  1. Setup KeePass with your Database containing SSH Keys
  2. Install KeeAgent (using your package manager)
  3. Start KeePass
  4. Go to Tools > Options… and open the KeeAgent tab
  5. Select Agent for Agent Mode and set the Path for the socket file. The recommended path is %XDG_RUNTIME_DIR%/keeagent.socket
    (Note: Yes, windows style due to mono)
  6. Quit with OK and restart KeePass
  7. In your ~/.bashrc or other place depending on your shell and configuration add the line export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/keeagent.socket
  8. Any new terminals will use KeeAgent as their ssh agent

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.