mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Try another approach to the RCP_/RSH_COMMAND formatting issue
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
963dea54c5
commit
01306e1230
@ -2161,34 +2161,17 @@ LOG:info:,bar net fw</programlisting>
|
|||||||
|
|
||||||
<para>The default values for these are as follows:</para>
|
<para>The default values for these are as follows:</para>
|
||||||
|
|
||||||
<simplelist>
|
<programlisting>RSH_COMMAND: ssh ${root}@${system} ${command}
|
||||||
<member>RSH_COMMAND: ssh ${root}@${system} ${command}</member>
|
RCP_COMMAND: scp ${files} ${root}@${system}:${destination}</programlisting>
|
||||||
|
|
||||||
<member>RCP_COMMAND: scp ${files}
|
|
||||||
${root}@${system}:${destination}</member>
|
|
||||||
</simplelist>
|
|
||||||
|
|
||||||
<para>Shell variables that will be set when the commands are invoked
|
<para>Shell variables that will be set when the commands are invoked
|
||||||
are as follows:</para>
|
are as follows:</para>
|
||||||
|
|
||||||
<simplelist>
|
<programlisting><replaceable>root</replaceable> - root user. Normally <option>root</option> but may be overridden using the '-r' option.
|
||||||
<member><replaceable>root</replaceable> - root user. Normally
|
<replaceable>system</replaceable> - The name/IP address of the remote firewall system.
|
||||||
<option>root</option> but may be overridden using the '-r'
|
<replaceable>command</replaceable> - For RSH_COMMAND, the command to be executed on the firewall system.
|
||||||
option.</member>
|
<replaceable>files</replaceable> - For RCP_COMMAND, a space-separated list of files to be copied to the remote firewall system.
|
||||||
|
<replaceable>destination</replaceable> - The directory on the remote system that the files are to be copied into.</programlisting>
|
||||||
<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>
|
||||||
|
|
||||||
|
@ -1886,34 +1886,17 @@ LOG:info:,bar net fw</programlisting>
|
|||||||
|
|
||||||
<para>The default values for these are as follows:</para>
|
<para>The default values for these are as follows:</para>
|
||||||
|
|
||||||
<simplelist>
|
<programlisting>RSH_COMMAND: ssh ${root}@${system} ${command}
|
||||||
<member>RSH_COMMAND: ssh ${root}@${system} ${command}</member>
|
RCP_COMMAND: scp ${files} ${root}@${system}:${destination}</programlisting>
|
||||||
|
|
||||||
<member>RCP_COMMAND: scp ${files}
|
|
||||||
${root}@${system}:${destination}</member>
|
|
||||||
</simplelist>
|
|
||||||
|
|
||||||
<para>Shell variables that will be set when the commands are invoked
|
<para>Shell variables that will be set when the commands are invoked
|
||||||
are as follows:</para>
|
are as follows:</para>
|
||||||
|
|
||||||
<simplelist>
|
<programlisting><replaceable>root</replaceable> - root user. Normally <option>root</option> but may be overridden using the '-r' option.
|
||||||
<member><replaceable>root</replaceable> - root user. Normally
|
<replaceable>system</replaceable> - The name/IP address of the remote firewall system.
|
||||||
<option>root</option> but may be overridden using the '-r'
|
<replaceable>command</replaceable> - For RSH_COMMAND, the command to be executed on the firewall system.
|
||||||
option.</member>
|
<replaceable>files</replaceable> - For RCP_COMMAND, a space-separated list of files to be copied to the remote firewall system.
|
||||||
|
<replaceable>destination</replaceable> - The directory on the remote system that the files are to be copied into.</programlisting>
|
||||||
<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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user