Leap 15.5 (upgraded in a row from 13.X)
For years now I’m using a script like this:
#!/bin/sh [ -n "$SSH_AGENT_PID" ] || eval "$(ssh-agent -s)" SSH_ASKPASS=/usr/lib/ssh/ksshaskpass export SSH_ASKPASS
to get ssh-agent up and running at login time for all my bash sessions. Works fine, have to enter PW once during login. Location etc. of script has changed in history, from kde4 to kde5, from X to Wayland…, but works.
In parallel, since a long time also kdewallet starts at login, asking me also for the master PW. Stored in kdewallet is also the ssh-agent PW, named “ksshaskpass”.
What must I do to “tell” ssh-agent to use the PW already stored in kdewallet?
As I can see, e.g. my Nextcloud desktop app uses it’s PWs stored in kdewallet at once, as soon as kdewallet is opened, after entering the master PW.