Tom Haynes wrote:
> BTW - I think I populated nfsv41/nfs41-gate over anonymous ssh.
> _______________________________________________
> scm-migration-dev mailing list
> scm-migration-dev at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/scm-migration-dev
>   

So I see what happened:

Here is what happens if I try it as anuser with commit privileges:
[th199096 at aus1500-home spe-super]> hg push -R /builds/th199096/spe-super 
-e "ssh -q -F /home/th199096/opensolaris/config"  
ssh://tdh at hg.opensolaris.org/hg/nfsv41/os-nfs41-gate
pushing to ssh://tdh at hg.opensolaris.org/hg/nfsv41/os-nfs41-gate
searching for changes
Are you sure you wish to push? [y/N]: ^Cinterrupted!

And here is what happens if I try it as anon:
[th199096 at aus1500-home spe-super]> hg push -R /builds/th199096/spe-super 
-e "ssh -q -F /home/th199096/opensolaris/config" 
ssh://anon at hg.opensolaris.org/hg/nfsv41/os-nfs41-gate
pushing to ssh://anon at hg.opensolaris.org/hg/nfsv41/os-nfs41-gate
searching for changes
Are you sure you wish to push? [y/N]:

If I avoid the use of -e, I don't have access rights as either user 
because of:
[th199096 at aus1500-home spe-super]> hg clone /builds/th199096/spe-super 
ssh://anon at hg.opensolaris.org//hg/nfsv41/os-nfs41-gate
Restricted use system; no interactive login.
abort: could not create remote repo!
[th199096 at aus1500-home spe-super]> hg clone /builds/th199096/spe-super 
ssh://tdh at hg.opensolaris.org//hg/nfsv41/os-nfs41-gate
Restricted use system; no interactive login.
abort: could not create remote repo!

So what I believe is happening is that even though I am specifying 
anon at hg in the hg clone/push commands, the
-e option is reading the user name and key out of the config file. And 
that is a valid user....




Reply via email to