简体   繁体   中英

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

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM