[svnbook] r5393 committed - branches/1.6/en
cmpilato at users.sourceforge.net
cmpilato at users.sourceforge.net
Fri Aug 11 15:06:39 CDT 2017
Revision: 5393
http://sourceforge.net/p/svnbook/source/5393
Author: cmpilato
Date: 2017-08-11 20:06:38 +0000 (Fri, 11 Aug 2017)
Log Message:
-----------
Merge from ^/trunk/en r5391.
Modified Paths:
--------------
branches/1.6/en/book/ch06-server-configuration.xml
Property Changed:
----------------
branches/1.6/en/
Index: branches/1.6/en
===================================================================
--- branches/1.6/en 2017-08-11 20:06:12 UTC (rev 5392)
+++ branches/1.6/en 2017-08-11 20:06:38 UTC (rev 5393)
Property changes on: branches/1.6/en
___________________________________________________________________
Modified: svn:mergeinfo
## -1 +1 ##
-/trunk/en:3996,3999,4011,4024,4036-4037,4039,4043,4046,4049,4052,4054,4060,4062,4066,4070-4073,4076,4078-4079,4081-4089,4092,4095,4097,4099,4103,4105,4107,4117-4118,4121,4136-4137,4192-4193,4231,4261,4296,4299,4305,4335,4352,4364,4742,4958,5043,5089,5165,5285,5290
\ No newline at end of property
+/trunk/en:3996,3999,4011,4024,4036-4037,4039,4043,4046,4049,4052,4054,4060,4062,4066,4070-4073,4076,4078-4079,4081-4089,4092,4095,4097,4099,4103,4105,4107,4117-4118,4121,4136-4137,4192-4193,4231,4261,4296,4299,4305,4335,4352,4364,4742,4958,5043,5089,5165,5285,5290,5391
\ No newline at end of property
Modified: branches/1.6/en/book/ch06-server-configuration.xml
===================================================================
--- branches/1.6/en/book/ch06-server-configuration.xml 2017-08-11 20:06:12 UTC (rev 5392)
+++ branches/1.6/en/book/ch06-server-configuration.xml 2017-08-11 20:06:38 UTC (rev 5393)
@@ -1383,7 +1383,7 @@
<informalexample>
<programlisting>
[tunnels]
-rsh = rsh
+rsh = rsh --
</programlisting>
</informalexample>
@@ -1391,17 +1391,28 @@
URL scheme that matches the name of your new variable:
<literal>svn+rsh://host/path</literal>. When using the new
URL scheme, the Subversion client will actually be running the
- command <userinput>rsh host svnserve -t</userinput> behind the
+ command <userinput>rsh -- host svnserve -t</userinput> behind the
scenes. If you include a username in the URL (e.g.,
<literal>svn+rsh://username@host/path</literal>), the client
- will also include that in its command (<userinput>rsh
- username at host svnserve -t</userinput>). But you can define new
- tunneling schemes to be much more clever than that:</para>
+ will also include that in its command (<userinput>rsh --
+ username at host svnserve -t</userinput>).</para>
+ <warning>
+ <para>Notice that when defining an RSH-based tunnel, we've
+ added the <literal>--</literal> end-of-options argument to
+ the tunnel command line. This is to prevent a malformed
+ hostname from being treated as another option to the tunnel
+ command. You should do the same for other tunnel programs
+ (for example, SSH).</para>
+ </warning>
+
+ <para>But you can define new tunneling schemes to be much more
+ clever than that:</para>
+
<informalexample>
<programlisting>
[tunnels]
-joessh = $JOESSH /opt/alternate/ssh -p 29934
+joessh = $JOESSH /opt/alternate/ssh -p 29934 --
</programlisting>
</informalexample>
More information about the svnbook-dev
mailing list