[TSVN] svn+ssh authentication on a shared server
From: angus <guscalder1_at_yahoo.co.uk>
Date: 2005-02-08 12:16:46 CET
I am trying to connect to a svn repository via a ssh tunnel. I have read the
--Setup--
I have an account on a shared server (linux box) running svn 1.1.3
I have setup a svn repository in /home/my_account/svnroot
I have given all files in the repository rwx permissions and changed the
My client is WinXP running tortoiseSVN - 1.1.3
--Steps taken--
Run svn as a service on the server using port 8499.
svnserve -r /home/account_name/svnroot --listen-port 8499 -d
Can browse the repository using tortoiseSVN and the url
However adding ssh is where I encounter the problem.
I am using ssh authentication via rsa public / private key combo.
Using putty, on my client, I have saved a connection profile called
Running
~Plink.exe -load myConnection svnserve -t -r /home/sportontime/svnroot
from the command line returns from the server
$ Bash: line 1: svnserve: command not found
indicating the server can not find the svn binaries
I then added
command="export Path=${PATH}:/usr/local/bin/svnserve" ssh-rsa AAAAB3etc
to the start of my authorized_keys file
Now when I now run
plink.exe -load myConnection svnserve -t -r /home/my_account/svnroot
the cursor returns without any apparent dialog - however I was expecting a
( success (1 2 (ANONYMOUS EXTERNAL) ( edit-pipeline ) ) ), similar to what I
Am I correct in assuming that is what should be returned?
I tried to run a script from the authorized_keys file to log the output
Once that is working I am still confused about how to connect to the
Do I set my client %Application_Data%/Subversion/config file to have
[tunnel]
ssh = h:/plink_path/plink.exe -load myConnection
and
access the repo-browser using svn+ssh://myConnection/home/my_account/svnroot
(even if I have run the svnserve command on the server with the -r flag?)
Or
do I use the network/ssh tab in the settings dialogue box gui?
h:/plink_path/plink.exe -load myConnection
Do I need to use "-load myConnection" or will 'myConnection' be called as
Thanks in advance for any help.
Angus.
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.