On 4/15/21 11:57 PM, Neal Gompa wrote:
On Thu, Apr 15, 2021 at 4:53 PM José Abílio Matos jamatos@fc.up.pt wrote:
For a long time I have a script in ~/.config/autostart-scripts/ksshaskpass
#!/bin/sh export SSH_ASKPASS=/usr/bin/ksshaskpass ssh-add xxxxx_key < /dev/null
For F34 this is not working out of the box.
That is after entering the plasma session using ssh always asks for the pass phrase. On the other hand if I run the last line directly, after the startup stage, then the agent is added and it works from there.
It almost looks like that kwallet it is not opened when the autostart script runs.
I've been doing this with a systemd user unit. There's some good detail on how to make and use systemd user units on the Arch Wiki: https://wiki.archlinux.org/index.php/systemd/User
Would you mind sharing your user service file for this?
Best regards,
Robert-André