# 解决svn - Subversion over ssh - access to the remote repository on Linux from Windows host

itPublisher 分享于

I created a repository in Mandriva Linux and want to access it from Windows host.

mkdir /home/user/myrepo/


To do this, i installed a client TortoiseSVN 1.7.9.

I set the path -

svn+ssh://user@ip/home/user/myrepo/


Where ip== ip of remote linux host.

I'm trying to do a review of the repository, but get an error -

Unable to connect to a repository at URL 'svn+ssh://user@ip/home/user/myrepo/' Can't create tunnel.

What could be the reason for the error?

linux svn tortoisesvn
edited Apr 16 '14 at 15:31 asked Dec 9 '12 at 12:09 Aleksey Bykov 5,473 6 37 65 1   Maybe a question for superuser.com. –  rekire Dec 9 '12 at 12:17      I saw nothing for server-side setup. Are you aware of this side? –  Lazy Badger Dec 9 '12 at 12:53      Thanks for the comment, Lazy Badger! Yes, I know. –  Aleksey Bykov Dec 9 '12 at 13:32

|

You need to edit your configuration file (%appdata%\Subversion\config), there is a section called tunnels where you have an out commented line like this:

ssh = C:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe


If you use a key for authorization you can add this parameter for skipping the password entry part:

-i c:\\Path\\to\\putty-ssh-key.ppk


edited Dec 9 '12 at 12:20 answered Dec 9 '12 at 12:15 rekire 31.2k 24 100 194      Thanks for the response, rekire! Now I will try to do as you say. –  Aleksey Bykov Dec 9 '12 at 12:18

|

×
• 登录
• 注册

×