summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.control11
-rwxr-xr-xnoncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.sh8
2 files changed, 19 insertions, 0 deletions
diff --git a/noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.control b/noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.control
new file mode 100644
index 0000000..c571166
--- a/dev/null
+++ b/noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.control
@@ -0,0 +1,11 @@
+Files: bin/opie-sh-ssh-askpass.sh
+Installed-Size: 0
+Version: $QPE_VERSION-$SUB_VERSION
+# We depend on opie-sh with the '-p' option. Not really on ssh though.
+Depends: opie-base (1.5.0+), opie-sh (0.5-20020919+)
+Priority: optional
+Section: opie/system
+Maintainer: David Woodhouse <dwmw2@infradead.org>
+Architecture: arm
+License: GPL
+Description: Popup dialog box for OpenSSH to ask for user input
diff --git a/noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.sh b/noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.sh
new file mode 100755
index 0000000..7e1e7ad
--- a/dev/null
+++ b/noncore/tools/opie-sh/scripts/opie-sh-ssh-askpass.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# opie-sh-ssh-askpass -- ssh-askpass utility using opie-sh
+
+OPIE_SH=opie-sh
+
+exec $OPIE_SH -i -p -t "OpenSSH" -g -L "<SMALL>$@" 2>/dev/null
+