summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshd.8
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2001-04-09 18:00:16 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2001-04-09 18:00:16 +0000
commit30dcf7e82696ad7289cc953a043a05d80d068736 (patch)
treea4ff11d8ee2b04e6b8374d0fde9ee8eb7a834e60 /usr.bin/ssh/sshd.8
parenta3555c8c6dddcd5a9535131a27fbb5a41861cfb8 (diff)
ListenAddress mandoc from aaron@
Diffstat (limited to 'usr.bin/ssh/sshd.8')
-rw-r--r--usr.bin/ssh/sshd.821
1 files changed, 14 insertions, 7 deletions
diff --git a/usr.bin/ssh/sshd.8 b/usr.bin/ssh/sshd.8
index a7c08547463..54b7861fafe 100644
--- a/usr.bin/ssh/sshd.8
+++ b/usr.bin/ssh/sshd.8
@@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: sshd.8,v 1.111 2001/04/08 23:28:27 stevesk Exp $
+.\" $OpenBSD: sshd.8,v 1.112 2001/04/09 18:00:15 stevesk Exp $
.Dd September 25, 1999
.Dt SSHD 8
.Os
@@ -486,26 +486,33 @@ If the value is 0, the key is never regenerated.
The default is 3600 (seconds).
.It Cm ListenAddress
Specifies the local addresses
-.Nm
+.Xr sshd 8
should listen on.
The following forms may be used:
.Pp
.Bl -item -offset indent -compact
.It
.Cm ListenAddress
-host|IPv4_addr|IPv6_addr
+.Sm off
+.Ar host No | Ar IPv4_addr No | Ar IPv6_addr
+.Sm on
.It
.Cm ListenAddress
-host|IPv4_addr:port
+.Sm off
+.Ar host No | Ar IPv4_addr No : Ar port
+.Sm on
.It
.Cm ListenAddress
-[host|IPv6_addr]:port
+.Sm off
+.Oo
+.Ar host No | Ar IPv6_addr Oc : Ar port
+.Sm on
.El
.Pp
If
-.Dq :port
+.Ar port
is not specified,
-.Nm
+.Xr sshd 8
will listen on the address and all prior
.Cm Port
options specified. The default is to listen on all local