src/init/conf/hg-ssh-wrapper
changeset 79 3a58a95fae2f
parent 78 2a3407a14654
child 80 fcb20d7593e6
equal deleted inserted replaced
78:2a3407a14654 79:3a58a95fae2f
     1 #!/bin/sh
       
     2 # Copyright 2008-2009 LShift Ltd
       
     3 
       
     4 # This file should live in /etc/mercurial-server.  It expects
       
     5 # to be specified as the target of the "command" section in the prefix
       
     6 # of a key in the authorized_keys file, and be passed a name associated
       
     7 # with an ssh key as its only argument.
       
     8 
       
     9 set -e
       
    10 exec /usr/local/lib/mercurial-server/hg-ssh $1