src/init/break-in/as-if-by-ssh
changeset 39 f5055ce263c7
parent 38 f1ee930c4ba8
child 40 abbb822779da
equal deleted inserted replaced
38:f1ee930c4ba8 39:f5055ce263c7
     1 #!/bin/sh
       
     2 # Used only for break-ins
       
     3 
       
     4 set -e
       
     5 SSH_ORIGINAL_COMMAND=$1
       
     6 echo "SSH_ORIGINAL_COMMAND=$SSH_ORIGINAL_COMMAND" >&2
       
     7 export SSH_ORIGINAL_COMMAND
       
     8 cd
       
     9 exec /etc/mercurial-server/hg-ssh-wrapper root
       
    10