Made a pretty simple setup for automatic ssh authentication via kwallet, sharing in case anyone wants to do the same and doesn't know how to, like I didn't, or finds a lot of the suggestions online to be messy and/or outdated:
>generate ssh authentication keys withssh-keygen
, set a passphrase for them
>copy the keys to the server with ssh-copy-id [USERNAME]@[HOSTNAME]
>now you can log in without a password, but you'll still need the passphrase for the keys
>start the ssh-agent daemon with
systemctl enable --user ssh-agent
systemctl start --user ssh-agent
>if you're not using systemd you should know how to do it with whatever you're using
>runSSH_ASKPASS=ksshaskpass ssh-add < /dev/null
, enter your passphrase and tick the save password option (if you don't have ksshaskpass install it, it's technically a separate package)
>now just make a startup script that runs that command and add it to autostart
>logout and log in to see if it works
Probably not going to be useful to most but maybe someone's going to get something out of it.