

(/mnt/c/Users/mendhak/Google \ Drive/Documents/keys/wsl-ssh-agent/wsl-ssh-agent-gui.exe -socket "C:\Temp\ssh-agent.

sock file as well.Įxport SSH_AUTH_SOCK =/mnt/c/temp/ssh-agent.sock Ensure that C:\Temp exists, or change the path for the. Adjust the path to point at wherever you have placed the exe. In your ~/.bashrc, add the following lines. You will need to tell WSL to talk to wsl-ssh-agent, so that it can talk to Windows SSH Agent, so that it can fetch your keys from KeePassXC.

If you’re trying to stay portable, it can be placed in a synched directory near KeepassXC and your KDBX, for example your Google Drive or Dropbox folders. Wsl-ssh-agent is a helper tool that interfaces with Windows’ own SSH Agent service.Įxtract the zip in Windows, not in WSL. Once again hit OK and save KeePassXC is now serving those keys to the Windows SSH agent. The rest of the section should get filled out with details about your key. Now reopen the entry, then go to the SSH Agent section, under Private key, pick the file you attached earlier. KeePass 2.x for Debian/Ubuntu Linux KeePass 2.x for Fedora Linux KeePass 2.x for OpenSUSE Linux KeePass 2.x for Gentoo Linux KeePass 2.x for Arch Linux KeePass 2.x for MacOS KeePass 2.x for FreeBSD KeePass 2.x for Other Unix-like Systems KeePass 1.x for Platform KeePass 2.x for Platform KeePass 1. You need to save so that the SSH Agent can read your key in the next step. In the advanced section, attach your public and private key, then hit OK, then save the entry. kdbx and KeeAgent entries, and you should already see your SSH keys loaded.Ĭreate a new entry in your database, give it some name, and in the password field, put the passphrase for your SSH key. KeePassXC can already work with your existing. If you are already using with KeePass 2 and KeeAgent, you can skip this section.
