简体   繁体   English

SVN结帐svn://协议失败,但它与svn + ssh://协议一起使用

[英]SVN checkout is failing with svn:// protocol but it is working with svn+ssh:// protocol

1) svn:// - not working 1)svn://-不起作用 在此处输入图片说明

2) svn+ssh:// - working 2)svn + ssh://-工作 在此处输入图片说明 I am using linux server with installed apache and tomcat into it and I want to access svn using svn:// protocol 我正在使用已安装apache和tomcat的linux服务器,并且我想使用svn://协议访问svn

I have installed svn using 'yum install subversion' command My svn version is - version 1.7.14 (r1542130). 我已经使用'yum install subversion'命令安装了svn。我的svn版本是-版本1.7.14(r1542130)。

After installation, I can access it using svn+ssh:// protocol but I can't access it using just svn:// protocol. 安装后,我可以使用svn + ssh://协议来访问它,但不能仅使用svn://协议来访问它。

When I try to access it using svn+ssh:// it keeps me asking for ssh password and it is not asking svn userid and password. 当我尝试使用svn + ssh://来访问它时,它一直在询问ssh密码,而不是在询问svn用户名和密码。

I want to access it using just svn:// protocol with svn userids and passwords. 我只想使用带有svn用户名和密码的svn://协议来访问它。

Things I checked - 我检查过的事情-

1) Svenserve daemon has already been started using command 1)Svenserve守护程序已经使用命令启动
svnserve -d -r /webcontent/data/svn_repo svnserve -d -r / webcontent / data / svn_repo

  • In order to use svn:// you must to run pure svnserve daemon before 为了使用svn://必须在运行 svnserve守护程序之前
  • When you connect with svn+ssh:// you really connect to host using ssh and run all svn-related tasks inside tunnel. 当您使用svn+ssh://连接时,您实际上是使用ssh连接到主机并在隧道内运行所有与svn相关的任务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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