Re: ssh ask pass on F34 not working on entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 4/21/21 6:10 PM, Robert-André Mauchin wrote:
On 4/15/21 11:57 PM, Neal Gompa wrote:
On Thu, Apr 15, 2021 at 4:53 PM José Abílio Matos <jamatos@xxxxxxxx> wrote:

For a long time I have a script in ~/.config/autostart-scripts/ksshaskpass

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
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

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:

Would you mind sharing your user service file for this?

Best regards,


I've used:

Description=ssh-add service

ExecStart=ssh-add -q %h/.ssh/id_rsa



export SSH_ASKPASS='/usr/bin/ksshaskpass'
export GIT_ASKPASS='/usr/bin/ksshaskpass

and it works. Let me know if there is a better way to do it.

kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam on the list, report it:

[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux