Clean up formatting of the RCP_/RSH_COMMAND manpage descriptions

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-11-23 14:08:13 -08:00
parent d895a5d67c
commit 87870ac46e
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10
2 changed files with 64 additions and 50 deletions

View File

@ -2151,36 +2151,44 @@ LOG:info:,bar net fw</programlisting>
<command>load</command> and <command>reload</command> commands. <command>load</command> and <command>reload</command> commands.
Beginning with release 3.9.5, you may define an alternative means Beginning with release 3.9.5, you may define an alternative means
for accessing the remote firewall system. In that release, two new for accessing the remote firewall system. In that release, two new
options were added to shorewall.conf:<simplelist> options were added to shorewall.conf:</para>
<member>RSH_COMMAND</member>
<member>RCP_COMMAND</member> <simplelist>
</simplelist>The default values for these are as <member>RSH_COMMAND</member>
follows:<simplelist>
<member>RSH_COMMAND: ssh ${root}@${system} ${command}</member>
<member>RCP_COMMAND: scp ${files} <member>RCP_COMMAND</member>
${root}@${system}:${destination}</member> </simplelist>
</simplelist>Shell variables that will be set when the commands
are invoked are as follows:<simplelist>
<member><replaceable>root</replaceable> - root user. Normally
<option>root</option> but may be overridden using the '-r'
option.</member>
<member><replaceable>system</replaceable> - The name/IP address <para>The default values for these are as follows:</para>
of the remote firewall system.</member>
<member><replaceable>command</replaceable> - For RSH_COMMAND, <simplelist>
the command to be executed on the firewall system.</member> <member>RSH_COMMAND: ssh ${root}@${system} ${command}</member>
<member><replaceable>files</replaceable> - For RCP_COMMAND, a <member>RCP_COMMAND: scp ${files}
space-separated list of files to be copied to the remote ${root}@${system}:${destination}</member>
firewall system.</member> </simplelist>
<member><replaceable>destination</replaceable> - The directory <para>Shell variables that will be set when the commands are invoked
on the remote system that the files are to be copied are as follows:</para>
into.</member>
</simplelist></para> <simplelist>
<member><replaceable>root</replaceable> - root user. Normally
<option>root</option> but may be overridden using the '-r'
option.</member>
<member><replaceable>system</replaceable> - The name/IP address of
the remote firewall system.</member>
<member><replaceable>command</replaceable> - For RSH_COMMAND, the
command to be executed on the firewall system.</member>
<member><replaceable>files</replaceable> - For RCP_COMMAND, a
space-separated list of files to be copied to the remote firewall
system.</member>
<member><replaceable>destination</replaceable> - The directory on
the remote system that the files are to be copied into.</member>
</simplelist>
</listitem> </listitem>
</varlistentry> </varlistentry>

View File

@ -1871,43 +1871,49 @@ LOG:info:,bar net fw</programlisting>
role="bold">"</emphasis></term> role="bold">"</emphasis></term>
<listitem> <listitem>
<para>Earlier generations of Shorewall6 Lite required that remote <para>Earlier generations of Shorewall Lite required that remote
root login via ssh be enabled in order to use the root login via ssh be enabled in order to use the
<command>load</command> and <command>reload</command> commands. <command>load</command> and <command>reload</command> commands.
Beginning with release 3.9.5, you may define an alternative means Beginning with release 3.9.5, you may define an alternative means
for accessing the remote firewall system. In that release, two new for accessing the remote firewall system. In that release, two new
options were added to shorewall6.conf:<simplelist> options were added to shorewall.conf:</para>
<member>RSH_COMMAND</member>
<member>RCP_COMMAND</member> <simplelist>
</simplelist>The default values for these are as <member>RSH_COMMAND</member>
follows:<simplelist>
<member>RSH_COMMAND: ssh ${root}@${system} ${command}</member>
<member>RCP_COMMAND: scp ${files} <member>RCP_COMMAND</member>
${root}@${system}:${destination}</member> </simplelist>
</simplelist>Shell variables that will be set when the commands
are invoked are as follows:<simplelist>
<member><replaceable>root</replaceable> - root user. Normally
<option>root</option> but may be overridden using the '-r'
option.</member>
<member><replaceable>system</replaceable> - The name/IP address <para>The default values for these are as follows:</para>
of the remote firewall system.</member>
<member><replaceable>command</replaceable> - For RSH_COMMAND, <simplelist>
the command to be executed on the firewall system.</member> <member>RSH_COMMAND: ssh ${root}@${system} ${command}</member>
<member><replaceable>files</replaceable> - For RCP_COMMAND, a <member>RCP_COMMAND: scp ${files}
space-separated list of files to be copied to the remote ${root}@${system}:${destination}</member>
firewall system.</member> </simplelist>
<member><replaceable>destination</replaceable> - The directory <para>Shell variables that will be set when the commands are invoked
on the remote system that the files are to be copied are as follows:</para>
into.</member>
</simplelist></para>
<programlisting/> <simplelist>
<member><replaceable>root</replaceable> - root user. Normally
<option>root</option> but may be overridden using the '-r'
option.</member>
<member><replaceable>system</replaceable> - The name/IP address of
the remote firewall system.</member>
<member><replaceable>command</replaceable> - For RSH_COMMAND, the
command to be executed on the firewall system.</member>
<member><replaceable>files</replaceable> - For RCP_COMMAND, a
space-separated list of files to be copied to the remote firewall
system.</member>
<member><replaceable>destination</replaceable> - The directory on
the remote system that the files are to be copied into.</member>
</simplelist>
</listitem> </listitem>
</varlistentry> </varlistentry>