Warning, /plasma/ksshaskpass/README is written in an unsupported language. File is not indexed.

0001 Ksshaskpass is a front-end for ssh-add which stores the password of the
0002 sh key in KWallet.
0003 Ksshaskpass is not meant to be executed directly, you need to tell
0004 ssh-add about it. ssh-add will then call it if it is not associated
0005 to a terminal.
0006 From the ssh-add manpage:
0007 /----------------
0009 |    If ssh-add needs a passphrase, it will read the passphrase from the
0010 |     current terminal if it was run from a terminal.  If ssh-add does not
0011 |     have a terminal associated with it but DISPLAY and SSH_ASKPASS are
0012 |     set, it will execute the program specified by SSH_ASKPASS and open
0013 |     an X11 window to read the passphrase. This is particularly useful
0014 |     when calling ssh-add from a .xsession or related script.  (Note that
0015 |     on some machines it may be necessary to redirect the input from
0016 |     /dev/null to make this work.)
0017 \----------------
0019 This means you need to make sure to set the SSH_ASKPASS environment variable
0020 to the path of ksshaskpass and then call ssh-add from your autostart scripts.
0022 To add it to the KDE autostart sequence you could for example create an
0023 executable script with the following content in ~/.kde/Autostart/ (or maybe
0024 /.kde4/Autostart/, depending on the distribution).
0026 /----------------
0027 |#!/bin/sh
0028 |
0029 |SSH_ASKPASS=ksshaskpass ssh-add < /dev/null
0030 \----------------