svn + ssh tunneling

Bram Kuijper a.l.w.kuijper at student.rug.nl
Wed May 16 21:22:02 UTC 2007


Hi all,
I want to check out my source code from a remote machine using svn and 
ssh on a Ubuntu Feisty Machine. The problem is that this remote machine 
handles ssh requests through a non-standard port number. I don't succeed 
in getting a ssh-tunneled svn connection to this machine, due to that 
port number.

More or less according to the SVN-book,
http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshauth

I have to change the following line in my local host 
/home/this_user/.subversion/config file:

[tunnel]
ssh = -p 882398

and then just type the normal ssh command:
svn list svn+ssh://user@servername.com:/home/user/svn/my_repository.

however, this won't work. It says:
svn: Error in child process: exec of '-p' failed: No such file or directory

what is going wrong here? What is the right commont to add to 
subversion's config fil in order to change the port number to the 
appropriate port?

cheers,
Bram





More information about the ubuntu-users mailing list