aboutsummaryrefslogtreecommitdiff
path: root/rd
diff options
context:
space:
mode:
Diffstat (limited to 'rd')
-rwxr-xr-xrd7
1 files changed, 7 insertions, 0 deletions
diff --git a/rd b/rd
new file mode 100755
index 0000000..3279929
--- /dev/null
+++ b/rd
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+in=/var/tmp/r.in
+out=/var/tmp/r.out
+mkfifo $in $out
+#trap "rm $in $out" EXIT
+<$in 2>&1 >$out ssh "$@"