aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChern Lee <chern@FreeBSD.org>2001-08-31 00:39:47 +0000
committerChern Lee <chern@FreeBSD.org>2001-08-31 00:39:47 +0000
commit05c872e867c432a95d43a2c6f20557912ac88b6a (patch)
tree8f5d2976872934d970a576beae07f8cf1d1655f5
parent48be3c9f93f4b9fcbda812c1a91b95211e90f798 (diff)
downloaddoc-05c872e867c432a95d43a2c6f20557912ac88b6a.tar.gz
doc-05c872e867c432a95d43a2c6f20557912ac88b6a.zip
*** empty log message ***
Notes
Notes: svn path=/head/; revision=10508
-rw-r--r--en_US.ISO8859-1/books/handbook/security/chapter.sgml79
1 files changed, 53 insertions, 26 deletions
diff --git a/en_US.ISO8859-1/books/handbook/security/chapter.sgml b/en_US.ISO8859-1/books/handbook/security/chapter.sgml
index 70d9e757be..f892f96eb6 100644
--- a/en_US.ISO8859-1/books/handbook/security/chapter.sgml
+++ b/en_US.ISO8859-1/books/handbook/security/chapter.sgml
@@ -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