access Mercurial workspace through ssh tunnel
Monday Nov 27, 2006
It's quite easy to setup ssh tunnel for Mercurial workspace:
$ mkdir -p .ssh
$ cat <<EOF > .ssh/authorized_keys
command="/usr/demo/mercurial/hg-ssh /export/scm/hgroot/repos/g11n-cws",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-[type] [key]
EOF
Please be sure to put above contents into one line (though very long).
More details can be found at selenic.com











