ITKeyword,专注技术干货聚合推荐

注册 | 登录

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

itPublisher 分享于

2020腾讯云10周年活动,优惠非常大!(领取2860元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1040

2020阿里云最低价产品入口,含代金券(新老用户有优惠),
地址https://www.aliyun.com/minisite/goods

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

mkdir /home/user/myrepo/
svnadmin create /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

 | 

1 Answers
1

解决方法

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

 | 


相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。