Motivation: I have remote workstation that I don't want to leave ssh keys laying around. All my ssh keys are inside keepass.
Sollution: use ssh agent forwading (basically forwading the keepass2 kee-agent via ssh) to the remote machine
Problem: Using e.g. konsole over remote desktop doesn't work.
Sollution: make the SSH_AUTH_SOCK always available via symlink at a preffered location
Problem: vscode also symlinks SSH_AUTH_SOCK to it's preffered location and my code doesn't touch the SSH_AUTH_SOCK if it's already a symlink
Complete Sollution below :)
Problem left:
If you open multiple ssh connections and you close the last one this stops working. I can live with it but I'm open to suggestions on how to fix that.