#!/bin/sh # Used only for break-ins set -e SSH_ORIGINAL_COMMAND=$1 echo "SSH_ORIGINAL_COMMAND=$SSH_ORIGINAL_COMMAND" >&2 export SSH_ORIGINAL_COMMAND cd exec /etc/hg-admin-tools/hg-ssh-wrapper root