[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 windows (xp)

From: Maarten | AI <mjvdveen_at_ai.rug.nl>
Date: 2004-07-24 09:37:28 CEST

If you use tortoisesvn through ssh (plink), just use the following path to
your repository:

Svn+ssh://username@ip-adres/path/to/repository

This will invoke a svnserve -t process which will tunnel through the ssh
connection, so you can work on your repository.

If you don't want to type username and password all the time, go to the
tortoisesvn settings and change the path to plink as follows:

Plink.exe -l username -pw password

Keep in mind the security risks here.

Good luck!

Maarten

-----Oorspronkelijk bericht-----
Van: Peter Koellner [mailto:peter@asgalon.net]
Verzonden: zaterdag 24 juli 2004 1:05
Aan: Ben Collins-Sussman
CC: users@subversion.tigris.org
Onderwerp: Re: svn+ssh on windows (xp)

On Fri, 23 Jul 2004, Ben Collins-Sussman wrote:

> It would be nice if you had given us these details the first time. :-)

ok :-)

> Plink doesn't work, I'm told. Is 'ssh' in your %PATH%? Show us the
> value of %SVN_SSH%

i tried different combinations. in cygwin, i have added the
svn-win32-1.1.0-rc1/bin directory to the path and SVN_SSH=ssh
peter@DELL5150 ~
$ svn
Type 'svn help' for usage.

peter@DELL5150 ~
$ export SVN_SSH=/usr/bin/ssh

peter@DELL5150 ~
$ cd /cygdrive/e/home/peter/CodeWarriorWork/

peter@DELL5150 /cygdrive/e/home/peter/CodeWarriorWork
$ svn ls svn+ssh://bender/var/lib/svn/repos
svn: Das System kann den angegebenen Pfad nicht finden.

peter@DELL5150 /cygdrive/e/home/peter/CodeWarriorWork
$ export SVN_SSH=ssh

peter@DELL5150 /cygdrive/e/home/peter/CodeWarriorWork
$ svn ls svn+ssh://bender/var/lib/svn/repos
svn: Connection closed unexpectedly

windows "command shell" : added both the svn and cygwin/bin dirs to the path

E:\>svn ls svn+ssh://bender/var/lib/svn/repos
svn: Connection closed unexpectedly

E:\>set SVN_SSH
SVN_SSH=ssh

E:\>set PATH
Path=E:\cygwin\bin;e:\svn-win32-1.1.0-rc1\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

E:\>svn ls svn+ssh://bender/var/lib/svn/repos
svn: Connection closed unexpectedly

> It's not difficult to connect to the server. Please don't judge
> subversion badly because one particular method doesn't automatically
> work on windows with zero effort.

no, i don't judge subversion for that. i do judge windows, though.

> You've chosen the most complex method
> of connecting, on the one operating system where it's hardest to get it
> working right.

yes, i know. encrypted access is my basic requirement or i could not
use the repository from my home office and i hate wasting two hours for
commuting every day...

> svn+ssh:// is only one of four ways to connect to a server: you can use
> http://, https://, or just plain old svn://. And none of those methods
> require using an external program like 'ssh'.

i guess i'll try https next...

-- 
peter koellner <peter@asgalon.net> 
phone: +49 30 44035450                               mobile: +49 172 3292977
icq# 161891755                 RL:  pptp://berlin.de:10437/hiddenseer_str/11
---------------------------------------------------------------------
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 Sat Jul 24 09:37: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.