On Thu, Apr 28, 2011 at 6:21 PM, Kurt Granroth <[email protected]> wrote: > I'm seeing a very odd problem with a co-worker's system. Basically, > when connecting to a repo using ssh, his TortoiseHg (2.0) always uses > the same user *and* misformats the remote call. http access works fine > as well as his setup on a different computer. > > We're using 'mercurial-server' on the shared server so all access if via > the 'hg' user. A typical clone would look like so: > > hg clone ssh://[email protected]/dev/project > > This is what happens on the command line: > > hg --verbose clone ssh://[email protected]/dev/project > running ""TortoisePlink.exe" -ssh -2 [email protected] "hg -R > dev/project serve --stdio"" > remote: mercurial-server: illegal command '[email protected] hg -R > dev/project serve --stdio' > abort: no suitable response from remote hg! > > Why is it prepending the user and host to the remote command? > > So maybe it's something wrong with mercurial-server, I think, and so I > have home access a different URL on the same system. This is what we get: > > hg --verbose clone ssh://[email protected]/dev/project > running ""TortoisePlink.exe" -ssh -2 [email protected] "hg -R > dev/project serve --stdio"" > remote: mercurial-server: illegal command '[email protected] hg -R > dev/project serve --stdio' > abort: no suitable response from remote hg! > > But wait!! Only the 'hg' user is tied to mercurial-server. That > shouldn't (and doesn't) run with any other user on that system. Also, > this person doesn't have an SSH key for 'user' on that machine and so > this should have failed during authentication. > > So basically, TortoiseHg (via TortoisePlink) is always authenticating > using the 'hg' user, even if the URL specifies a different user *AND* is > sending an incorrectly formatted remote command.
Looks like Putty is eating your lunch See http://tortoisehg.bitbucket.org/manual/2.0/faq.html Specifically the item that starts with "Why can’t I connect to an ssh server" -- Steve Borho ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

