# #!/bin/sh
# $Id: ssh.sh,v 1.1 2004/07/16 12:36:21 abs Exp $
# ssh wrapper for rconfig (as rdist cannot handle RDIST_RSH with arguments)
ssh -a -x -o 'BatchMode yes' "$@"

# Eventually we would hope to handle an automatic chroot with rconfig
# if [ -n $RSH_CHROOT ] ; then
# if [ x$1 = x-l -o x$2 = x-l ] ; then
#     CMD="ssh $1 $2 $3"
#     shift ; shift ; shift
# else
#     CMD="ssh $1"
#     shift
# fi
# # exec $CMD chroot /mnt "$@"
