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

Re: svnserver svn+ssh setup

From: Lars Tiefland <ltiefland_at_gmail.com>
Date: 2006-10-09 09:51:49 CEST

Hi,

for every user who shall be able to commit to a repository via SSH you
MUST create a system user with the desired password.

Also you will have to specify the complete path to the repo, if I'm
not mistaken.
svn+ssh://localhost/path/to/repo

2006/10/9, daol <h.hsf@gishpuppy.com>:
> > Strange as it seems, you don't need to run svnserve in order to use
> > svn+ssh:
>
> Thanks I have my toughts for ssh... now it is more clean, by the way I
> have installed sshd and uncommented in /etc/ssh/sshd_conf
>
> -----code-----
> AuthorizedKeysFile %h/.ssh/authorized_keys
> -----code-----
>
> I guess that will load the authorized_keys file but for what user, if
> the process is spawned at runtime?
>
> > You need to run an ssh daemon.
>
> Now I get...
>
> -----code-----
> svn list svn+ssh://localhost/p1
> The authenticity of host 'localhost (127.0.0.1)' can't be established.
> RSA key fingerprint is 28:c4:23:6e:5e:1d:62:02:53:3a:60:e0:60:1a:eb:05.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
> hecato@localhost's password:
> svn: No repository found in 'svn+ssh://localhost/p1'
> hecato_at_hecatombe-64:~$ svn list svn+ssh://localhost/p1
> hecato@localhost's password:
> Permission denied, please try again.
> hecato@localhost's password:
> svn: No repository found in 'svn+ssh://localhost/p1'
> -----code-----
>
> I have seen this error I guess in this list, I will find it, hope I
> can understand the solution.
>
> I have some confusion now :)...
>
> 1) the "svnserve -d" use authentication based on ./conf/svnserve.conf
> and ./conf/passwd only the users listed there would be able to login
> for write acces (like configured in .conf file)?, and they connect via
> "svn some svn://.../repo"
>
> 2) the "svn some svn+ssh://.../repo" require sshd (daemon be running),
> the question is how ./conf/svnserve.conf and ./conf/passwd and perhaps
> ./conf/svnserve.conf and ./conf/authz impact it? and where I add the
> users/passwords for ssh (like you see a starter of ssh... I have putty
> now)???
>
> 3) For example if I whant to test access to sally:sallyssecret and
> harry:harryssecret for write access to svn+ssh to the repo, how I will
> doit?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
Live Long And Prosper,
Lars Tiefland
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 9 09:52:27 2006

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.