Sshfs automount as user on login

Hello good people!

I’m trying to figure out the most straightforward way to do this:

  • when user is logged in - some dirs inside the user home are mounted via sshfs
  • mount should happen after certain services start (such as tailscale service)
  • ssh key is passphrase protected, currently no way of graphically unlocking it is set up. I would want to have something popup asking for the key, preferrably only once for all of several mounts
  • I don’t want this mounting to make ssh key available for everything else without passphrase because of that
  • I use KDE if that helps (like maybe kwallet is something usefull - never used it)

Thank you in advance!