-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 12.12.2008 um 09:18 schrieb [email protected]:

>
> Dear all,
>
> I'm trying out mercurial as I heard great things about the eclipse
> plugin, but now I'm facing a cloning problem that I have no idea how
> to solve. I set up mercurial on 2 windows machine, one intending to be
> the "server" while the other the "client". Both sides uses cygwin
> openssh as the ssh protocol.
>
> The problem now is that when I use ME to clone a repository (via new)
> I always get a timeout. Fortunately or not, I can use the command line
> tool. I can also clone repository via http through hg serve on the
> "server". I didn't setup the key exchanges but I don't think that is
> the root of the problem.

Actually it is, if you don't have the askpass ssh daemon installed. As  
SSH doesn't allow for supplying a password via parameter, you only got  
the two options of either configuring your key to be accepted without  
password or to have the daemon installed.


>
>
> Typically, on the command line, I would do:
> c:\>hg clone ssh://u...@ipaddress/path/to mypath/to/
> the command line would prompt me like
> password for u...@ipaddress:
> in which after inputting the pw, i would be able to successfully
> execute the clone.
>
> If through ME, I tried either
> 1) filling in ssh://u...@ipaddress/path/to as the path and filling in
> the password field under authentication
> or 2) filling in ssh://ipaddress/path/to and filling in the user name
> password fields under authentication.
>
> Either way, I get a timeout all the time. My console ouput shows
> c:\Progra~1\mercurial\hg.exe clone ssh://*...@ipaddress/project project
>    Process timeout

This happens because ssh waits for a password to be supplied and then  
times out. I tried to get the password sent in interactive mode, but  
this doesn't work as Mercurial / SSH don't go into command line  
interactive mode, when calling it from a program :(. I'll try again,  
but I doubt it will succeed...

>
>
> I'm wondering about *** before @. Is this normal? Am I missing
> something? I really can't figure it out. Any help would really be
> appreciated. And thanks for the wonderful plugin =)

The stars are for hiding authentication info, but they are only  
printed in the console. The Mercurial call is done correctly with your  
username set.

Bastian

>
>
> regards,
> Chong Han
>
>
> >

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAklCjXMACgkQBqJW4lDO0YKELwCeJ8LIG0JsiZGzDTQWYtYc1cQm
6I8Anj5HsRp4F//crzcbKPCdGoFTUuH+
=HTUn
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MercurialEclipse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mercurialeclipse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to