summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2009-02-12 03:46:18 +0000
committerDamien Miller <djm@cvs.openbsd.org>2009-02-12 03:46:18 +0000
commitcf29f5e502bb6182893aebc91dbb64af13262abf (patch)
tree54e943e454b1134bb2a31567070dc8270d9d3b4e
parentb95ef8ac294950a11f5dfa207db0e71443471ad6 (diff)
document RemoteForward usage with 0 listen port
-rw-r--r--usr.bin/ssh/ssh_config.511
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5
index 376d928a19a..1f8e6c0bdbb 100644
--- a/usr.bin/ssh/ssh_config.5
+++ b/usr.bin/ssh/ssh_config.5
@@ -34,8 +34,8 @@
.\" (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: ssh_config.5,v 1.116 2009/01/24 17:10:22 naddy Exp $
-.Dd $Mdocdate: January 24 2009 $
+.\" $OpenBSD: ssh_config.5,v 1.117 2009/02/12 03:46:17 djm Exp $
+.Dd $Mdocdate: February 12 2009 $
.Dt SSH_CONFIG 5
.Os
.Sh NAME
@@ -813,6 +813,13 @@ Multiple forwardings may be specified, and additional
forwardings can be given on the command line.
Privileged ports can be forwarded only when
logging in as root on the remote machine.
+.Pp
+If the
+.Ar port
+argument is
+.Ql 0 ,
+the listen port will be dynamically allocated on the server and reported
+to the client at run time.
.Pp
If the
.Ar bind_address