*** empty log message ***

This commit is contained in:
Chern Lee 2001-08-31 00:39:47 +00:00
parent 48be3c9f93
commit 05c872e867
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10508

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml,v 1.73 2001/08/30 18:59:28 chern Exp $
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/security/chapter.sgml,v 1.74 2001/08/31 00:10:35 chern Exp $
-->
<chapter id="security">
@ -3077,31 +3077,58 @@ Your identification has been saved in /home/user/.ssh/identity.
<screen>&prompt.user; <userinput>ssh -2 -N -f -L <replaceable>5023:localhost:23 user@foo.bar.com</replaceable></userinput>
&prompt.user;</screen>
<itemizedlist>
<listitem>
<para><emphasis>-2</emphasis> this forces &man.ssh.1 to use version
2 of the protocol. (Do not use if you are working with older ssh
servers)</para>
</listitem>
<listitem>
<para><emphasis>-N</emphasis> indicates no command, or tunnel only.
If omitted, &man.ssh.1; would initiate a normal session.</para>
</listitem>
<listitem><para><emphasis>-f</emphasis> forces &man.ssh.1; to run
in the background.</para>
</listitem>
<listitem>
<para><emphasis>-L</emphasis> indicates a local tunnel in
<replaceable>localport:remotehost:remoteport</replaceable>
fashion.
</para>
</listitem>
<listitem>
<para><replaceable>foo.bar.com</replaceable> is the remote/target
SSH server.
</para>
</listitem>
</itemizedlist>
<para>The <command>ssh</command> command is used with the
following options:</para>
<variablelist>
<varlistentry>
<term><option>-2</option></term>
<listitem>
<para>Forces <command>ssh</command> to use version 2 of
the protocol. (Do not use if you are working with older
ssh servers)</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-N</option></term>
<listitem>
<para>Indicates no command, or tunnel only. If omitted,
<command>ssh</command> would initiate a normal
session.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-f</option></term>
<listitem>
<para>Forces <command>ssh</command> to run in the
background.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-L</option></term>
<listitem>
<para>Indicates a local tunnel in
<replaceable>localport:remotehost:remoteport</replaceable>
fashion.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>user@foo.bar.com</option></term>
<listitem>
<para>The remote SSH server.</para>
</listitem>
</varlistentry>
</variablelist>
<para>An SSH tunnel works by creating a listen socket on localhost
on the specified port. It then forwards any connection received