On 10/9/2006 3:51 AM, Lars Tiefland wrote:
> 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.
This isn't actually true: There are ways to allow all users to ssh to
one account, using public key authentication. Alan Barrett wrote a very
clear post on this a few weeks ago... here it is:
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=55311
The only trouble I had in following these instructions was in using the
wrong path in the -r option to svnserve, because I didn't read
carefully. The path to give is the path to the directory where the
repos directory is stored, not the full path to the repos: see
instructions 2 and 3.
Duncan Murdoch
>
> 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
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 9 14:30:11 2006