Yes, spaces in the path of SVN_SSH is a problem.
Workaround: put a copy of PuTTY's plink.exe on e.g. c:\
Next problem: I get "access denied". Witness:
C:\foo>svn co svn+ssh://dev.implior.com/var/subversion/frotz/trunk
svn: Det går inte att hitta filen. ["The file (i.e. plink.exe) can't be found"]
C:\foo>dir/b c:\plink.exe
plink.exe
C:\foo>set SVN_SSH=c:\
C:\foo>svn co svn+ssh://dev.implior.com/var/subversion/frotz/trunk
svn: Åtkomst nekad. ["Access denied"]
Cheers,
/Per
> -----Ursprungligt meddelande-----
> Från: Kevin Williams [mailto:kevin@bantamtech.com]
> Skickat: den 27 december 2004 19:30
> Kopia: users@subversion.tigris.org
> Ämne: Re: How can I set up access via svn+ssh on Windows?
>
> This should work. I've done it in the past using PuTTy's plink.exe.
> Perhaps the TortoisePlink.exe is customized for TortoiseSVN
> only? Do you
> have spaces in the path? Have you tried forward slashes instead of
> backslashes?
>
> Per Lindberg wrote:
> > 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
> >
>
> ----------
> 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 Tue Dec 28 11:52:05 2004