Hi, I'm still on F33 at the moment, but for a long time now I haven't needed to use a startup script as such for SSH. I have configured a startup task by going to System Settings->startup and Shutdown->Autostart. In there by selecting the '+ Add' button I have created a desktop config file simply by putting 'ssh-add' in the box (under the 'General' tab). This is just the name of the task. The location is '/home/xxx/.config/autostart' (where xxx is your userid). Click on the 'Application' tab, and enter '/usr/bin/ssh-add' in the 'Command:' box. then click on 'Okay'. As far as I remember that was it. When I start up my laptop it auto logs me in, and runs the SSH askpass program for my secret. It has worked for a long time now, but I admit that I won't know if it still works under F34 until I update. John. On Tue, 2021-04-20 at 17:08 +0200, Robert-André Mauchin wrote: > On 4/15/21 10:53 PM, José Abílio Matos 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 have the same issue since F34, I thought this was a Wayland issue but > I have not looked further. I thought my startup scripts in Plasma were > not working but even adding them to my .profile or .bashrc it doesn't > work. I wonder if this is because the ssh-agent is not yet started. > > _______________________________________________ > kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure -- John Horne | Senior Operations Analyst | Technology and Information Services University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK ________________________________ [http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass> This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form. _______________________________________________ kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure