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

Re: ssh+svn (client) under Windows (XP)

From: <Zsolt.Domokos_at_seagate.com>
Date: 2003-10-31 20:28:05 CET

this below will open notepad to display console info:
same file (%APPDATA%\Subversion\config)

## Section for configuring external helper applications.
### Set editor to the command used to invoke your text editor.
### This will override the environment variables that Subversion
### examines by default to find this information ($EDITOR,
### et al).
### Set diff-cmd to the absolute path of your 'diff' program.
### This will override the compile-time default, which is to use
### Subversion's internal diff implementation.
### Set diff3-cmd to the absolute path of your 'diff3' program.
### This will override the compile-time default, which is to use
### Subversion's internal diff3 implementation.
### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3'
### program accepts the '--diff-program' option.
[helpers]
editor-cmd = notepad.exe

Again, did you check if you have the rights on the linux box to write into
the directories where the repository sits?
When you use ssh it will open a shell with your user name and enviroment.
If you can not write any of the file in the repository, you'll see the
stuff that is happening to you.
At least that was the case with me.
Here is how I set up the rights:

as root, create a user and a group svn
add yourself as memeber of svn group
add others how want to use svn as memeber of svn group
add apache user to be a member of svn group as well

create directory /var/svn
chown svn:svn /var/svn
chmod 770 /var/svn

login as svn and
now create repository:
svnadmin create /var/svn/repos

hope this helps

Zsolt

|---------+---------------------------->
| | "M@xwell" |
| | <wodkadrinker |
| | No Phone Info |
| | Available |
| | |
| | 10/31/2003 11:02 |
| | AM |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
  | |
  | To: <Zsolt.Domokos@seagate.com> |
  | cc: <users@subversion.tigris.org> |
  | Subject: Re: ssh+svn (client) under Windows (XP) |
>------------------------------------------------------------------------------------------------------------------------------|

thanx a lot, this took me a step further
but it still doesnt work

first i changed the config file the way you (Zsolt) described it (with
username and password)
turtoise still tells me "could not create tunnel"
if i use the command line client and typing "svn co svn+ssh://" i'm just
hearing the standard error sound of windows (but no visual error msg
appears) and the command line client hangs (does nothing forever after)
then i changed the config file like this
ssh = TortoisePlink.exe -l [username]
(so, no password)
for sure turtoise still doesn't work :(
then i tried the command line client again, and this time i got an dialog
window to enter my pw
after entering the pw, another (tuertoiseplink) dialog is telling me
"unable
to write to standard output". (confirming this msg with ok, the svn command
line client quits by telling me
"svn: Network connection closed unexpectedly
svn: Connection closed unexpectedly")

which standard output? command line? harddisk? network?

any suggestions?
help :(

M@x

----- Original Message -----
From: <Zsolt.Domokos@seagate.com>
To: <wodkadrinker@gmx.de>
Cc: <users@subversion.tigris.org>
Sent: Friday, October 31, 2003 4:04 PM
Subject: Re: ssh+svn (client) under Windows (XP)

>
> Here are the steps, after Tortoise is installed:
>
> 1: Find the file (on windows 2000, XP)
> C:\Documents and Settings\[YOUR USER NAME]\Application
> Data\Subversion\config
>
> 2: edit the file to look like this
>
> ### Section for configuring tunnel agents.
> [tunnels]
> ssh = TortoisePlink.exe -l [YOUR SVN USER NAME ON THE LINUX BOX] -pw
[YOUR
> SVN PASSWORD ON THE LINUX BOX]
>
> 3: copy TortoisePlink.exe into c:\Program Files\Subversion (or wherever
> your subversion is installed)
>
>
> done
>
> Zsolt
>
>
>
>

---------------------------------------------------------------------
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 Fri Oct 31 20:29:01 2003

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.