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

Re: Re: How to setting SVN + ssh server on Win32 ?

From: ping235 <ping235_at_gmail.com>
Date: 2006-09-15 05:32:45 CEST

> Thanks,
>
>>I'd try to get plain command-line svn working first. TortoiseSVN
>>supplies its own ssh client (a customized version of plink) so if you
>>use it, you can't tell whether the problem is with the ssh connection,
>>with the svn server, or with Tortoise, and that makes it a lot harder to
>>diagnose. With the command line client, you can test all the pieces
>>separately.
>
> I start svnserve -d on WinXP as server, it works,

>You don't need the server running as a service. ssh will start it just
>for the duration of the transaction.

> (the svnserve.exe and repos are on the same drive D:)
> then do: svn ls svn://admin@192.0.0.1/Temp/SVN/test , it works fine also.
> but, when i do: svn ls svn+ssh://admin@192.0.0.1/Temp/SVN/test , it tells me:
> svn: Can't create tunnel

>It sounds as though ssh is not running on the the client or server. If
>you run
>ssh admin@192.0.0.1
>do you get a connection?
it tells me: "can not create /home/Admin/.svn",
finally, i found where is /home/Admin, it is F:\Documents and Settings\Admin,
is there some way to change it into C:\Program Files\OpenSSH\home\Admin? i got openssh
installed on C:\Program Files\OpenSSH
but now, anyway, it works fine.
>Once you're on that connection, is svnserve on
>your path?
on the connection, i type set, it shows this:
ALLUSERSPROFILE=F:\Documents and Settings\All Users
COMMONPROGRAMFILES=F:\Program Files\Common Files
COMPUTERNAME=WWW
COMSPEC=F:\WINDOWS\system32\cmd.exe
CYGWIN=binmode ntsec tty
FP_NO_HOST_CHECK=NO
HOME=F:\Documents and Settings\Admin
HOMEDRIVE=F:
HOMEPATH=\Documents and Settings\Admin
LOGNAME=Admin
LOGONSERVER=\\WWW
MAIL=/var/spool/mail/Admin
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
PATH=f:\WINDOWS\system32;f:\WINDOWS;f:\WINDOWS\System32\Wbem;d:\Software\Develop\SVN\SVN\bin;C:\Program Files\OpenSSH\bin;d:\Software\Web\Php5;C:\Program Files\OpenSSH\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0407
PROGRAMFILES=F:\Program Files
PROMPT=$P$G
SHELL=/bin/switch
SSH_CLIENT=192.0.0.1 1461 22
SSH_CONNECTION=192.0.0.1 1461 192.0.0.1 22
SSH_TTY=/dev/tty2
SYSTEMDRIVE=F:
SYSTEMROOT=F:\WINDOWS
TEMP=f:\WINDOWS\TEMP
TERM=cygwin
TMP=f:\WINDOWS\TEMP
TZ=CST-8
USER=Admin
USERDOMAIN=WWW
USERNAME=Admin
VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
WINDIR=F:\WINDOWS

d:\Software\Develop\SVN\SVN\bin is the place of svnserve
but, still no lucky when i use:
svn ls svn+ssh://admin@192.0.0.1/Temp/SVN/test
it tells me:
Connection closed unexpectedly

>Duncan Murdoch
>
> I sure the path of svnserve.exe is in PATH of system variables
>
>>Duncan Murdoch
>
>>P.S. You're posting with an invalid return address; it's really
>>irritating to have replies to you bounce back.
> Thanks for pointing this out.
>
>
> ------------------
> ping235
> 2006-09-14
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 15 05:33:27 2006

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