[svnbook] r5706 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Thu May 31 09:24:20 CDT 2018


Revision: 5706
          http://sourceforge.net/p/svnbook/source/5706
Author:   wuzhouhui
Date:     2018-05-31 14:24:18 +0000 (Thu, 31 May 2018)
Log Message:
-----------
1.8/zh: translation of chapter 6 in progress

Modified Paths:
--------------
    branches/1.8/zh/book/ch06-server-configuration.xml

Modified: branches/1.8/zh/book/ch06-server-configuration.xml
===================================================================
--- branches/1.8/zh/book/ch06-server-configuration.xml	2018-05-30 12:52:47 UTC (rev 5705)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-05-31 14:24:18 UTC (rev 5706)
@@ -2257,6 +2257,7 @@
 </screen>
       </informalexample>
 
+      <!--
       <para>In this example, the Subversion client is invoking a local
         <command>ssh</command> process, connecting to
         <literal>host.example.com</literal>, authenticating as the
@@ -2271,7 +2272,18 @@
         If the client performs a commit, the authenticated username
         <literal>harryssh</literal> will be used as the author
         of the new revision.</para>
+      -->
+      <para>在上面的例子里, Subversion 客户端唤起一个本地的
+        <command>ssh</command> 进程, 连接到 <literal>host.example.com</literal>,
+        作为用户 <literal>harryssh</literal> (根据 SSH 用户配置) 进行认证,
+        然后在远程的服务器中, 以用户 <literal>harryssh</literal> 的身份派生
+        一个私有的 <command>svnserve</command> 进程. 命令
+        <command>svnserve</command> 在隧道模式 (<option>-t</option>) 下执行,
+        它的网络协议行走在由 <command>ssh</command>—隧道代理—提供
+        的加密通道中. 如果客户端执行一个提交操作, 认证过的用户名
+        <literal>harryssh</literal> 将作为新版本号的作者.</para>
 
+      <!--
       <para>The important thing to understand here is that the
         Subversion client is <emphasis>not</emphasis> connecting to a
         running <command>svnserve</command> daemon.  This method of
@@ -2280,6 +2292,13 @@
         <command>ssh</command> to spawn a temporary
         <command>svnserve</command> process, which then terminates
         when the network connection is closed.</para>
+      -->
+      <para>这里需要强调的一点是 Subversion 客户端 <emphasis>并没有</emphasis>
+        连接到运行着的 <command>svnserve</command> 守护进程, 这种访问方式不
+        要求 <command>svnserve</command> 守护进程存在, 即使存在也不会被注意
+        到. 它完全依赖 <command>ssh</command> 临时派生的
+        <command>svnserve</command> 进程, 当网络连接关闭时,
+        <command>svnserve</command> 进程就会终止.</para>
 
       <para>When using <literal>svn+ssh://</literal> URLs to access a
         repository, remember that it's the <command>ssh</command>




More information about the svnbook-dev mailing list