From 1a598a459770245946505c17e89c1200bc9be949 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Tue, 10 Apr 2001 02:48:50 +0000 Subject: [PATCH] - stevesk@cvs.openbsd.org 2001/04/09 18:00:15 [sshd.8] ListenAddress mandoc from aaron@ --- ChangeLog | 5 ++++- sshd.8 | 21 ++++++++++++++------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 51e6872c5..e59bf4e9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,9 @@ - markus@cvs.openbsd.org 2001/04/09 15:19:49 [ssh-add.1] ssh-add retries the last passphrase... + - stevesk@cvs.openbsd.org 2001/04/09 18:00:15 + [sshd.8] + ListenAddress mandoc from aaron@ 20010409 - (stevesk) use setresgid() for setegid() if needed @@ -4987,4 +4990,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1092 2001/04/10 02:46:54 mouring Exp $ +$Id: ChangeLog,v 1.1093 2001/04/10 02:48:50 mouring Exp $ diff --git a/sshd.8 b/sshd.8 index a7c085474..54b7861fa 100644 --- a/sshd.8 +++ b/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