OpenSUSE XDM SSH_ASKPASS
Posted on Sat 08 August 2015 in misc
Every year or so I rebuild my machine and forget how to enable the ssh-askpass tool with ssh-agent from XDM display manager
cp /etc/X11/xdm/sys.xsession ~/.xession
cp ~/.xinitrc.template ~/.xinitrc
# Add ssh agent config for loading keys
if test -S "$SSH_AUTH_SOCK" -a -x "$SSH_ASKPASS"; then
ssh-add ~/.ssh/id_nameofprivatekey < /dev/null
fi