diff options
Diffstat (limited to 'rd')
-rwxr-xr-x | rd | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,11 @@ #!/bin/sh +# rd -- launch ssh session for rtty + in=/var/tmp/r.in out=/var/tmp/r.out rm $in $out 2>/dev/null mkfifo $in $out -<$in 2>&1 >$out ssh -tt "$@" + +<$in 2>&1 >$out ssh -oBatchMode=yes -tt "$@" & +exec rtty |