raksmart活动促销

分享

写回答

发帖

[提问] 最近 HostMonster 做SVN服务器出问题了。怎么办?

HostMonster HostMonster 2393 人阅读 | 3 人回复

发表于 2010-5-3 18:32:11 | 显示全部楼层 |阅读模式

从本地 用
svn list svn+ssh://username@domain.com/home2/username/svnrepos
就会出现这个错误
bash: svnserve: command not found

是因为HostMonster把OPENSSH4升级OPENSSH5导致的

但按照官方提供的解决方法1,还是没有解决。
地址如下:
http://helpdesk.hostmonster.com/index.php/kb/article/000572

SVN

Subversion can be accessed over ssh using the svn+ssh protocol. This problem presents itself as the following:

      bash: svnserve: command not found
Solution 1

To get your custom path to the svnserve binary to be used, you need to create a wrapper script on your local machine:

     #!/bin/sh
     ssh $1 /path/to/svnserve -t
You can find the correct /path/to/svnserve by logging into your Hostmonster account via SSH and typing which svnserve. Name this script anything you want, such as "svnssh", make it executable, and place it in a convenient location. Now, in your .subversion/config file, place the following:

     [tunnels]
     ssh=/path/to/svnssh
The /path/to/svnssh should match the location that you put your svnssh wrapper script.

[ 本帖最后由 zxl777 于 2010-5-3 06:35 PM 编辑 ]

回答|共 3 个

开心私塾

发表于 2010-5-4 10:44:24 | 显示全部楼层

如果这样真的不行的话,可以联系他们的客服叫他们帮你解决。

zxl777

发表于 2010-5-4 23:46:54 | 显示全部楼层

现在HostMonster上都在盼着解决呢,管理员那里也只是给出了临时的解决办法,还是在客户端做文章。

zxl777

发表于 2010-5-7 17:06:33 | 显示全部楼层

问题已解决,必须用证书的方式。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

HostMonster讨论

HostMonster
优惠码:优惠链接
介绍:HostMonster美国主机商成立于1996年,总部位于犹他州普罗沃,提供主机托管服务,在业内有比较有实力,而且口碑也不错。HostMonster美国主机性价比较高,而且基本不会额外收取费用,其无限型方案支持无限磁盘空间,无限带宽和电子邮件帐户,提供免费域名1个。
查看更多

zxl777

发表主题