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

Help needed in --tunnel-user

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2005-12-05 12:27:41 CET

Hi All,
I am trying do a *make svnsshcheck *which seemed to fail for
examine_lock and examine_lock_via_url.
When analysed the cause it seemed to be that locks are always owned by
'kamesh'(My system username is kamesh and I am sshing to the system as
kamesh).
Later when cross referenced the svnbook found that --tunnel-user could
be of use.

Yes the following authorized_keys file helps in making only one of the
testcase to pass by having the corresponding private keys mentioned in
client's config file. i.e ~/.ssh/config file having "IdentityFile
/home/kamesh/.ssh/id_dsa_jconstant /n IdentityFile
/home/kamesh/.ssh/id_dsa_jrandom"
*authorized_keys*
command="svnserve -t --tunnel-user=jrandom" ssh-dss PUB_KEY1
command="svnserve -t --tunnel-user=jconstant" ssh-dss PUB_KEY2

I could make both the testcase executed individually when I run them
individually with SVN_SSH set to 'ssh -i /path/to/id_dsa_jrandom' while
executing examine_lock and to 'ssh -i /path/to/id_dsa_jconstant' when
running examine_lock_via_url.

Am I missing anything?

With regards
Kamesh Jayachandran
Received on Mon Dec 5 12:28:16 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.