hg-shell, the Mercurial version control system's git-shell.
- copy src/hg-shell to /usr/bin
- chmod +x /usr/bin/hg-shell
- modify your /etc/passwd file, and change /bin/bash to /usr/bin/hg-shell
- hg clone ssh://user@your-host-name/your-mercurial-repository
enjoy it!