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

Re: svn+ssh authentication

From: Chris Garrett <cgarrett_at_degarrah.com>
Date: 2004-03-10 18:18:33 CET

Hi Stefan,

After much monkeying around and help from the list I got svn working
with ssh just as you are requesting. The way I understand it you dont
need a daemon running for ssh. You need a valid ssh account and access
permissions to the repository directorie(s). So my setup is like this:

Linux box(saturn):
/srv/svn - svn group has 775 on this and subfolders.

To connect from other machine with tortoisSVN I had to add my username
and password to the ssh command line. In windows explorer:
1. File->TortoisSVN->Settings
2. Click "Network" tab
3. Under "SSH client:" I added login info so my line lookes like:

C:\Program Files\TortoiseSVN\TortoisePlink.exe -l chris -pw <passwd>

Then to browse repository from windows explorer:
1. File->Repo-Browser:
2. I enter: svn+ssh://saturn/srv/svn

And it all works.

I realize that having the login info setup like that is a security risk,
but hey Im running windows to begin with!

HTH

CG

Stefan Binder wrote:
> Hello,
>
> Iīm using Subversion 1.0 on OpenBSD 3.4, and only want svn+ssh access to
> the repository, because connection is over internet.
>
> I have a question about authentication with ssh connections:
> In svnserve.conf i disabled anon access, and let only authenticated
> users read + wirte
> (anon-access = none
> auth-access = write )
>
> When i connect through TortoiseSVN Client on Windows, it only asks me
> for the ssh-password, but not for the repository password.
> If svn+ssh is used, is the authentication only over ssh, and i donīt
> need a rep. password?
>
>
>
>
>
> ---------------------------------------------------------------------
> 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 Wed Mar 10 18:20:17 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.