[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: daol <h.hsf_at_gishpuppy.com>
Date: 2006-10-10 21:02:10 CEST

Hi there.

Some news, now Im able to do commit, here is a session... ;)

svn checkout svn+ssh://svn.d.devcave.net/repos/SVN/test svn1
The authenticity of host 'svn.d.devcave.net (' 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 'svn.d.devcave.net' (RSA) to the list of known hosts.
Enter passphrase for key '/home/hecato/.ssh/id_dsa':
repos@svn.d.devcave.net's password:
Enter passphrase for key '/home/hecato/.ssh/id_dsa':
repos@svn.d.devcave.net's password:
Enter passphrase for key '/home/hecato/.ssh/id_dsa':
repos@svn.d.devcave.net's password:
A svn1/hello.txt
A svn1/jaja.txt
A svn1/holamundo.txt
A svn1/mujohojo.txt
Revisión obtenida: 5
hecato@hecatombe-64:~/Desktop$ cd svn1/
hecato@hecatombe-64:~/Desktop/svn1$ vi holamundo.txt
skipping 2 old session files
reading holamundo.txt
hecato@hecatombe-64:~/Desktop/svn1$ svn commit
skipping 2 old session files
reading svn-commit.tmp
wrote svn-commit.tmp, 7 lines, 150 chars
Enter passphrase for key '/home/hecato/.ssh/id_dsa':
repos@svn.d.devcave.net's password:
Enviando holamundo.txt
Transmitiendo contenido de archivos .
Commit de la revisión 6.

The thing is that I have specificated the path -r /repos/SVN in
.ssh/authorized_keys (command="svnserve -t -r /repos/SVN
--tunnel-user=hecato" and also hecato is added in ./config/passwd of
the repository) , but sure, the svnserve run with user "repos", if
not, it will not be able to write to the folders ;).

The questions (See that Im testing at house also server is at house,
tought... I will like to test first in house and later outside of

1) Why It ask me 3 times for my keyprase?. And the more extrange is
that it askme about the password of the user "repos"?.

2) tought I guess now the svnserve is launched by user "repos" because
the commits are done OK, I have a client that can connect via svn+ssh,
it ask me for... AccesMethod:svn+ssh; Server Name: svn.d.devcave.net;
Repository Path:/repos/SVN/test; Login Name:hecato; Private Key File:
/home/hecato/.ssh/id_dsa; Passphrase: MyPassPrhase. But when hiting OK
and checking for the connection it say "svn: SSH server rejets
provided credentials"

I dont know why it say that it dosent work, if from command line it work OK?

From http://bitworking.org/news/Getting_subversion_svn_ssh____to_work_with_PuTTY

hecato@hecatombe-64:~/Desktop/svn1$ ssh hecato@svn.d.devcave.net
Enter passphrase for key '/home/hecato/.ssh/id_dsa':
hecato@svn.d.devcave.net's password:
Linux hecatombe-64 2.6.15-27-amd64-k8 #1 SMP PREEMPT Sat Sep 16
01:57:42 UTC 2006 x86_64 GNU/Linux

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Last login: Tue Oct 10 12:33:01 2006 from localhost

See that it dosent show "( success ( 1 2 ( ANONYMOUS EXTERNAL ) (
edit-pipeline ) ) )", but at less the svnserve is able to write from
command line.

Have a nice day or night.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 10 21:02:55 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.