[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn+ssh on cygwin/openssh

From: Michael McDaniel <subv5_at_autosys.us>
Date: 2004-02-23 19:23:58 CET

I had a similar problem from NT4 client using .37 (I'm still downloading
v1.0, thank you!!, and happy birthday Karl and Sander!). Similar in that
'svn list svn+ssh://host/path' worked but I could not get 'svn commit' to
work.

I fixed the problem I had by doing the following on my NT4 client.

1) save .svn/entries to a backup copy
2) edit .svn/entries and change
   FROM: 'url = svn://host/path'
   TO : 'url = svn+ssh://host/path'

I have the sense that it's not a 'good thing' to directly edit this file,
but it worked for me (and 'svn list svn+ssh://host/path' still worked
fine).

Michael McDaniel
Portland, Oregon
http://autosys.us
   

On Mon, 23 Feb 2004, Micah Spears wrote:

> Date: Mon, 23 Feb 2004 12:06:06 -0600
> From: Micah Spears <micah@orcsoft.com>
> To: users@subversion.tigris.org
> Subject: Re: svn+ssh on cygwin/openssh
>
> I appreciate the help, but that's not the problem. There is an
> incompatibility( maybe stdin/stdout? ) between svn and ssh whenever svn
> invokes ssh on windows/cygwin i.e. it never prompts me for my password
> and dies with:
>
> >svn: Connection closed unexpectedly
> >
> >
> I tried setting up an alias:
>
> micahssh = @MICAHSSH c:/cygwin/bin/ssh
> svn svn+micahssh://micah@localhost/repo/test
>
> with the same failure result. I should note that TortoiseSVN(plink)
> works fine with ssh so the problem lies in invoking ssh through svn...
>
>
> thanks,
> micah
>
> Douglas Stetner wrote:
>
> >On 23/2/04 at 04:59 (-0600), Micah Spears <micah@orcsoft.com> wrote:
> >
> >
> >
> >>svn: Connection closed unexpectedly
> >>
> >>
> >
> >I would look at how svnserve is supposed to get started up when you ssh
> >in. On my Mac it is done with inetd or xinetd listening for a
> >connection and starting up svnserve when someone tries to connect.
> >
> >In your example, you start it manually, therefore it worked.
> >
> >How is svnserve supposed to get started when you ssh in (I am not sure
> >how it is done on a windows box)?
> >
> >Try starting it manually and then using svn+ssh and I think you will
> >find it may work. Then you just need to figure out how it is supposed
> >to start automatically.
> >
> >Doug
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---
http://autosys.us  http://autosys.us/blog/  http://oregonprivacy.org  
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 23 19:33:34 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.