[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 10:07:12 CEST

Hi ,

To create a new system user, you need to run

1. useradd <username> to create the user (i. e. useradd sally)
2. passwd <username> to set the user's password (i. e. passwd sally).

The passwd program will ask you for the user's password.

2006/10/9, daol <h.hsf@gishpuppy.com>:
> I understand now what happend with the "no repo there thing"... the
> spawned svnserver process dosent have the default options that I use
> like when doing it with "-d" that is I need to put the complete
> path...
>
> ----------code----------
> hecato_at_hecatombe-64:~/.ssh$ svn list svn+ssh://localhost/repos/svn/p1
> instead of
> hecato_at_hecatombe-64:~/.ssh$ svn list svn+ssh://localhost/p1
> like before, how to correct the autospawned svnserve?
> \----------code----------/
>
> Here is a session...
>
> ----------code----------
> hecato_at_hecatombe-64:~/Desktop$ svn checkout svn+ssh://localhost/repos/svn/p1
> Enter passphrase for key '/home/hecato/.ssh/id_dsa':
> Enter passphrase for key '/home/hecato/.ssh/id_dsa':
> Enter passphrase for key '/home/hecato/.ssh/id_dsa':
> A p1/hello.txt
> Revisión obtenida: 2
> hecato@hecatombe-64:~/Desktop$ cd p1/
> vi hello.txt
> skipping 2 old session files
> reading hello.txt
>
> hecato@hecatombe-64:~/Desktop/p1$ svn status
> M hello.txt
> hecato@hecatombe-64:~/Desktop/p1$ svn commit
> skipping 2 old session files
> reading svn-commit.tmp
>
> Enter passphrase for key '/home/hecato/.ssh/id_dsa':
> Sending hello.txt
> Transmitting content of files .svn: commit fail (details follow):
> svn: can't create the folder '/repos/svn/p1/db/transactions/2-1.txn':
> Access denied
> svn: Your commit message was left in a temporary location:
> svn: '/home/hecato/Desktop/p1/svn-commit.tmp'
> \----------code----------/
> (I dont know why it ask me 3 times the phrase).
>
>
> Then the questions remains
>
> 1) how affect ./conf/passwd ./conf/authz and ./conf/svnserve.conf to
> svn+ssh://. Or they only serve for svn:// access?
>
> 2) how to control the spawned svnserve (because itdosent have the "-r"
> option I add in command line and with "-d"?
>
> 3) how to add more user/passwords to ssh? by instance for check the
> example user:passwords like sally:sallyssecret and harry:harryssecret
> and being loaded with the correct svnserve spawned programm
>
>
>
> For information about process, in the middle of the checkout when
> entering 3 times the phrase
>
> ----------code----------
> $ ps ax|grep svnser
> 14186 pts/1 S+ 0:00 ssh localhost svnserve -t
> \----------code----------/
> and
> ----------code----------
> $ ps ax|grep ssh
> 5877 ? Zs 0:00 [ssh-agent] <defunct>
> 2525 ? Ss 0:00 /usr/sbin/sshd
> 10612 pts/5 S+ 0:00 /usr/bin/elvis /etc/ssh/sshd_config
> 14173 pts/1 S+ 0:00 svn checkout svn+ssh://localhost/repos/svn/p1
> 14186 pts/1 S+ 0:00 ssh localhost svnserve -t
> 14187 ? Ss 0:00 sshd: hecato [priv]
> 14188 ? S 0:00 sshd: hecato [net]
> \----------code----------/
>
> ---------------------------------------------------------------------
> 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 10:07:52 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.