summaryrefslogtreecommitdiff
path: root/noncore/tools/opie-sh
authordwmw2 <dwmw2>2002-09-19 13:30:22 (UTC)
committer dwmw2 <dwmw2>2002-09-19 13:30:22 (UTC)
commit71af43c57ea311efbd1cc9b9b18996718a48b3a1 (patch) (side-by-side diff)
tree3ea47092b93da1a03efe03d19548def3268c0542 /noncore/tools/opie-sh
parent0f1ad29634d6bf8a0f64272d7ae8bff74707a9b8 (diff)
downloadopie-71af43c57ea311efbd1cc9b9b18996718a48b3a1.zip
opie-71af43c57ea311efbd1cc9b9b18996718a48b3a1.tar.gz
opie-71af43c57ea311efbd1cc9b9b18996718a48b3a1.tar.bz2
opie-sh-ssh-askpass script for use by openssh to get user input -- like
passwords, etc.
Diffstat (limited to 'noncore/tools/opie-sh') (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
+