Setting up a central repository

Imbeault, Jean-Christian jeanchristian.imbeault at lehman.com
Tue Aug 21 09:59:14 CDT 2007


Thanks for answering my questions Benoit. Still seem to have some
problems though

>You are supposed to use hg pull ssh://login@host/hgproj/repository/OES

>(hg will call ssh with the right arguments)

Oh. I've tried that and get this error about not finding a repository
(even though there really is one)

	[jimbeaul at tklxecdev001 ~/hgproj/repositories/test]$ hg pull
ssh://jimbeaul@tklxecdev001/home/aseqdsu/hgproj/repository/OES

	jimbeaul at tklxecdev001's password: 
	remote: abort: There is no Mercurial repository here (.hg not
found)!
	abort: no suitable response from remote hg!
	[jimbeaul at tklxecdev001 ~/hgproj/repositories/test]$ ls -la
/home/aseqdsu/hgproj/repository/OES

	total 12
	drwxr-xr-x  3 aseqdsu games 4096 Aug 21 22:12 .
	drwxr-xr-x  3 aseqdsu games 4096 Aug 21 21:29 ..
	-rw-r--r--  1 aseqdsu games    2 Aug 21 22:12 a
	drwxr-xr-x  3 aseqdsu games 4096 Aug 21 22:12 .hg

>If you want your users not to know the password for the account, you'll
need to setup a correct .ssh/authorized_keys setup.

>What command did you try that yield that error ? and what command did
you put in authorized_keys ?

The command was:

	[jimbeaul at tklxecdev001 ~]$ ssh -l aseqdsu tklxecdev001 hg
version
	Invalid command `hg version' requested.

And in authorized_key I have:

command="/home/aseqdsu/hg-login
jimbeaul",no-port-forwarding,no-X11-forwarding,no-agent-forwarding
ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEA3IXm5N0vf45Wuuv69UmzlwGdngifrKMfUZe1t8Vz+6/F
O7yIDCSQP7DHQ7yOxldU7w8vJzo5CGvqF7f9bujmGBDl46pLxbgi7X40wUAU0W2BrxpqktHY
eNPwuYto47r/m4RXwzksJqqgm4J7ga9Y18gD76VPHAxxehnnQrqfLEE=
jimbeaul at tklxecdev001
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.






More information about the Mercurial mailing list