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

How can I set up access via svn+ssh on Windows?

From: Per Lindberg <per_at_implior.com>
Date: 2004-12-27 16:26:27 CET

Hokay. Some progress, but still no win:

  c:\path\to\tortoisesvn\TortoisePlink.exe me@myserver.com svnlook info
/var/subversion/proj1

does not work, TortoisePlink asks nicely for password but then
pops up a message box: "unable to write to standard output".

HOWEVER, the same operation with PuTTY's plink.exe:

   c:\path\to\PuTTY\plink.exe me@myserver.com svnlook info
/var/subversion/proj1

works nicely.

It is of course possible to run the simpler example

   c:\path\to\PuTTY\plink.exe myserver.com ls

So it is established that TortoisePlink.exe can't be used for this.
But the plink.exe that comes with PuTTY shows promise.

But setting the SVN_SSH environment variable to c:\path\to\PuTTY\plink.exe
does not help. Nor to C:\path\to\PuTTY

I suspect that this environment variable does not really work on Windows...
Has anyone had success doing this on Windows?

> Från: Kevin Williams [mailto:kevin@bantamtech.com]

> Plink can connect using standard ssh client syntax, or it can use the
> PuTTy GUI session names. For example, If I use PuTTy to connect to my
> server and save a session as "myserver", I can set SVN_SSH to
> "C:\path\to\TortoisePlink.exe" then use
> "svn+ssh://me@myserver:/var/subversion/project1".

You can? Not I.

> It might help to try calling TortoisePlink.exe from the
> command line and
> give it a command. This would be something like
> "C:\path\to\TortoisePlink.exe me@myserver svnlook info
> /var/subversion/project1". If that works, then svn+ssh should work.

Yes, that works. But svn co svn+ssh.... does not.

> Per Lindberg wrote:
> >
> >
> >>-=> I have tried to run the svn command-line client (e.g. svn co)
> >>-=> on Windows, using svn+ssh:// as access method. But I can't get
> >>-=> it to work.
> >>
> >>Hi Per,
> >>
> >>does this link help at all?
> >>
> >>
> >
> >
> http://tortoisesvn.berlios.de/faq/index.php?action=artikel&cat
> =8&id=30&artlang=
> > en
> >
> > Thanks, but the article does not really address the problem.
> > (Btw: the original article is here:
> > http://www.logemann.org/day/archives/000099.html)
> >
> > You see, I *can* check out files from my Subversion repository
> > (on another server, running Linux) using one of these methods
> > on my Windows machine:
> >
> > + TortoiseSVN (using TortoisePlink.exe as SSH client)
> > with the URL 'svn+ssh://foo.com/var/subversion/myproject'
> >
> > + the 'svn co' DOS command on Windows
> > with the URL 'https://foo.com/svn/myproject'
> >
> > - but *not* with the 'svn co' DOS command on Windows
> > with the URL 'svn+ssh://foo.com/var/subversion/myproject'
> >
> > Note the difference: 'svn co' can use 'https' but not 'svn+ssh'.
> > (The other URL difference is irrelevant to the problem).
> >
> > There *seems* to be a way to set up the 'svn' DOS command on Windows
> > so that it can use 'svn+ssh' (at least, there *should* be :-) . The
> > apocryphical
> > lore whispers about an environment variable named SVN_SSH.
> But it's not
> > clearly described in any of the wizard's tomes.
> >
> > It appears that SVN_SSH could be set up to point at
> TortoisePlink.exe
> > that comes with TortoiseSVN. Or must it point at plink.exe
> that comes
> > with PuTTY? I have tried many different variants, no luck. Does the
> > SVN_SSH spell work on Windows at all?
> >
> > (I can log in a tty session to the server with PuTTY, no problem).
> >
> > Cheers,
> > Per Lindberg
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
>
> ----------
> Scanned for viruses by ClamAV
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 27 16:28:54 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.