I am trying to setup a new mercurial server (first time for me), serving with hg-ssh and am running into the problem that I can pull and push, but not clone a repository to the server.
In .ssh/authorized_keys on the server, I have the following line before the key:
no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command=".../hg-ssh repos/*"
Without this line, cloning the repository works, so it's not a path issue.
I am somewhat baffled by this, because I would have expected hg-ssh to allow for cloning - am I wrong in assuming this? Is there some config I might have missed?
ssh
to this account with this key?.../hg-ssh repos/*
does not sound right. What about the...
? I am not sure if the wildcard works here. – Jakujehg-ssh
you should also allowhg
, don't you think? checkout this mercurial-scm.org/pipermail/mercurial/2009-July/027021.html – arhak