Peculiar Error: Illegal Command
James Herdman
james.herdman at gmail.com
Thu Jul 30 11:36:57 CDT 2009
Hi friends.
Thank you for all of your help so far. I think I've mostly got this nailed
down.
Matt was correct: we're not even touching Mercurial yet. The problem occurs
when logging in. Here's the story:
1. User logs in successfully
2. hg-admin-tools is set up to kick off hg-ssh upon login, provided a
particular SSH key. This happens.
3. Everything is fine and dandy until hg-ssh examines my rule-sets. The
method I'm talking about is called try_cmd in hg-ssh. What follows is my
hg-ssh-acccess.conf file. Note that my team is small, and I trust everyone,
so I pretty much leave things wide open to them:
--- BEGIN ---
write user=users/**
read user=users/**
--- END ---
After the rules tell hg-ssh that things aren't kosher, it writes "Illegal
command" to STDERR, and then aborts. Hence my problem.
I'm at a loss, my friends. Does anyone have any suggestions?
James
On Thu, Jul 30, 2009 at 8:08 AM, Ingo Proetel <proetel at aicas.de> wrote:
> Hi,
>
> >> $ hg -v clone . ssh://hg@myserver/my_repos
> >> => running ssh hg at myserver "hg init my_repos"
> >> => Illegal command 'hg init my_repos'
> >> => abort: could not create remote repo!
> >>
> try removing the quotes:
> ssh hg at myserver hg init my_repos
>
>
> Cheers,
> Ingo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090730/d128c138/attachment.htm
More information about the Mercurial
mailing list