Lines Matching refs:rsh
545 # rsh mode is an internal/secret thing only I use.
546 rsh=""
547 if echo "$orig" | grep '^rsh
549 rsh=1
550 orig=`echo "$orig" | sed -e 's,rsh://,,'`
551 elif echo "$orig" | grep '^rsh:' > /dev/null; then
553 rsh=1
554 orig=`echo "$orig" | sed -e 's,rsh:,,'`
875 # trick for the undocumented rsh://host:port method.
887 # trick for the undocumented rsh://host:port method.
2803 if [ "X$rsh" != "X1" ]; then
2825 echo "rsh $ul \"$ssh_host\" \"$ssh_cmd\""
2827 rsh $ul "$ssh_host" "$ssh_cmd" > $tport &
2881 if [ "X$rsh" = "X1" ]; then
2901 if [ "X$rsh" != "X1" ]; then
2908 echo "rsh $ul \"$ssh_host\" \"$ssh_cmd\""
2910 rsh $ul "$ssh_host" "$ssh_cmd" &