You are not logged in.
Hello all, I am trying since days to get Keepass with KeeAgent to work. In the past I did it successfully on other machines but this time it won't work. I installed Archlinux fresh and updated it. GNOME is installed as well. I installed keepass (following this guide: https://wiki.archlinux.org/title/KeePass) with:
sudo pacman -S keepass
After that I downloaded KeeAgent Version 0.3.18, unzipped it and copied the plgx file to:
/usr/share/keepass/plugins/
With:
KeePass -> Tools -> Options -> KeeAgent -> Agent mode socket file -> %XDG_RUNTIME_DIR%/keeagent.socket
and setting the environment variable SSH_AUTH_SOCK in ~/.bash_profile
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR"'/keeagent.socket'
I thought this would be all I have to do. I did logoff and logon again but after starting keepass I get this error message:
Could not add key because no SSH Agent was found. Please make sure your SSH Agent is running (e.g. Pageant).
After that - keepass can not run in client mode - I was playing around with starting the ssh-agent by myself with:
eval $(ssh-agent)
and changing the path to the socket file in KeePass -> Tools .... to %SSH_AUTH_SOCK% (because this variable will be set by eval $(ssh-agent) and will point to the socket- file. But with no real success either. Now keepass changed to Agent-Mode the relevant Keys are reported as loaded in the entry- overview (but obviously not to ssh-agent). Still I cannot use it with a sshfs command (I will we prompted to insert the passphrase each time I try to mount a remote share), because sshfs is probably looking in the ssh-agent and not in the KeeAgent if I understand it right. So - I don't have any idea anymore what to do next. Do you?
Last edited by AVFritze (2024-11-13 14:00:58)
Offline