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

RE: svn+ssh from Windows commandline (client)

From: Tim Diggins <tim_at_red56.co.uk>
Date: 2004-06-29 22:37:35 CEST

To summarise, and in answer to Eric's question (what do I type, what do I
get), then:

when I try:
> svn list /path/to/working/copy
it works fine

when I try:
> svn list svn+ssh://server/path/to/repos
I get
< svn: The system cannot find the file specified.

----------------

In response to Ken's helpful comments below, I think what I've missed
(somewhere) is the documentation of how you configure svn as a client (not
the repos parts - which are working fine).

where does the config file go. Sorry - I'm probably being dense... but it's
hard to map commentary about svn on the server side on a *nix machine
against the svn on the client side on a win32 machine.

many thanks

Tim

> -----Original Message-----
> From: Ken Johnson [mailto:KJohnson@eclypse.org]
> Sent: 28 June 2004 15:32
> To: 'Tim Diggins'
> Subject: RE: svn+ssh from Windows commandline (client)
>
>
>
> Tim:
>
> I found the following batch file useful when configuring
> svn+ssh on Windows for the first time. I am using
> TortoisePlink for ssh.
>
>
> Create ssh.bat in c:\blah\, as follows:
>
> @date /T >>"C:\blah\ssh.log"
> @time /T >>"C:\blah\ssh.log"
> @ECHO %0 %* >>"C:\blah\ssh.log"
> @"c:\Program Files\TortoiseCVS\TortoisePlink.exe" %*
> 3>>"C:\blah\ssh.log"
> 2<&3
>
> replacing 'blah' and 'blah-blah' with the appropriate paths
> for your system.
>
> Then point ssh at this batch file in 'config', using all of
> the arguments
> for
> plink (or your favorite Windows ssh implementation), like this:
>
> ssh = "c:\\blah\\ssh.bat" -v -i "C:\\blah-blah\\private.ppk" -2
>
> Note the use of quotes and double backslashes for the config file.
> If path blah contains embedded spaces, you will need them.
>
> "ECHO %0 %*" records the command line which svn passes to windows to
> execute the batch file. This lets you double-check how your entries
> in config are working.
>
> "3>>"C:\blah\ssh.log" 2<&3" redirects standard error to the ssh.log
> file, so you can see the -v output from Plink, and errors passed
> back from svnserve.
>
> Ken Johnson
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 29 22:40:23 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.