Antonio Larrosa
fef1b16e66
commented out). The keycat binary isn't really installed nor supported, so we can drop it, except for the code that is used by other SELinux patches, which is what I kept from that patch (boo#1229072). - Add patch submitted to upstream to fix RFC4256 implementation so that keyboard-interactive authentication method can send instructions and sshd shows them to users even before a prompt is requested. This fixes MFA push notifications (boo#1229010). * 0001-auth-pam-Immediately-report-instructions-to-clients-and-fix-handling-in-ssh-client.patch OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=274
27 lines
479 B
Bash
27 lines
479 B
Bash
#!/bin/bash
|
|
|
|
SESSION=
|
|
|
|
if [ -n "$KDE_FULL_SESSION" ] ; then
|
|
SESSION=kde
|
|
fi
|
|
|
|
if [ "$DESKTOP_SESSION" = "lxqt" ]; then
|
|
SESSION=kde
|
|
fi
|
|
|
|
GNOME_SSH_ASKPASS="@LIBEXECDIR@/ssh/gnome-ssh-askpass"
|
|
KDE_SSH_ASKPASS="@LIBEXECDIR@/ssh/ksshaskpass"
|
|
|
|
case "$SESSION" in
|
|
kde)
|
|
[ -e $KDE_SSH_ASKPASS ] && exec $KDE_SSH_ASKPASS ${1+"$@"}
|
|
exec $GNOME_SSH_ASKPASS ${1+"$@"}
|
|
;;
|
|
*)
|
|
[ -e $GNOME_SSH_ASKPASS ] && exec $GNOME_SSH_ASKPASS ${1+"$@"}
|
|
exec $KDE_SSH_ASKPASS ${1+"$@"}
|
|
;;
|
|
esac
|
|
|