Browse Source

support x11-ssh-askpass, too

master
parent
commit
8d9f4340cc
  1. 5
      openssh/ssh-askpass

5
openssh/ssh-askpass

@ -11,11 +11,14 @@ else
if [ -f $p/ssh-askpass ]; then
ssh_askpass="$p/ssh-askpass"
break
elif [ -f $p/x11-ssh-askpass ]; then
ssh_askpass="$p/x11-ssh-askpass"
break
fi
done
fi
if [ ".$ssh_askpass" = . ]; then
echo "ssh:ERROR: neither \"ssh-askpass\" installed nor \$SSH_ASKPASS provided" 1>&2
echo "ssh:ERROR: neither \"[x11-]ssh-askpass\" installed nor \$SSH_ASKPASS provided" 1>&2
exit 1
fi
exec $ssh_askpass "$@"

Loading…
Cancel
Save