aboutsummaryrefslogtreecommitdiff
path: root/rd
blob: 601b5d1a6fec2257adba625341f74e14505481b7 (plain)
1
2
3
4
5
6
7
8
9
10
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 -oBatchMode=yes -tt "$@" &
exec rtty