diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-04-08 16:01:37 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-04-08 16:01:37 +0000 |
commit | 40d86c85d5851915c47abba5df4f515c693af109 (patch) | |
tree | 2d1c31a85a286c6dcc011299c155157c856d038d | |
parent | 7e2c8e90fda2f5a7f09c99e8b13849c63456cdcb (diff) |
document ListenAddress addr:port
-rw-r--r-- | usr.bin/ssh/sshd.8 | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/usr.bin/ssh/sshd.8 b/usr.bin/ssh/sshd.8 index 65d3ca751a9..b4e2af1552e 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.109 2001/04/02 14:15:31 stevesk Exp $ +.\" $OpenBSD: sshd.8,v 1.110 2001/04/08 16:01:36 stevesk Exp $ .Dd September 25, 1999 .Dt SSHD 8 .Os @@ -485,14 +485,35 @@ The key is never stored anywhere. If the value is 0, the key is never regenerated. The default is 3600 (seconds). .It Cm ListenAddress -Specifies what local address +Specifies the local addresses .Nm should listen on. -The default is to listen to all local addresses. -Multiple options of this type are permitted. -Additionally, the -.Cm Ports -options must precede this option. +The following forms may be used: +.Pp +.Bl -item -offset indent -compact +.It +.Cm ListenAddress +host|IPv4_addr|IPv6_addr +.It +.Cm ListenAddress +host|IPv4_addr:port +.It +.Cm ListenAddress +[host|IPv6_addr]:port +.El +.Pp +If +.Dq :port +is not specified, +.Nm +will listen on the address and all prior +.Cm Port +options specified. The default is to listen on all local +addresses. Multiple +.Cm ListenAddress +options are permitted. Additionally, any +.Cm Port +options must precede this option for non port qualified addresses. .It Cm LoginGraceTime The server disconnects after this time if the user has not successfully logged in. |