From 85c6d8a991826fcc1217f5743b0108668c12f7cb Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 14 Feb 2009 16:34:21 +1100 Subject: [PATCH] - djm@cvs.openbsd.org 2009/02/12 03:46:17 [ssh_config.5] document RemoteForward usage with 0 listen port --- ChangeLog | 5 ++++- ssh_config.5 | 11 +++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc981f7eb..3dfe3f5ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,6 +24,9 @@ - djm@cvs.openbsd.org 2009/02/12 03:44:25 [ssh.1] consistency: Dq => Ql + - djm@cvs.openbsd.org 2009/02/12 03:46:17 + [ssh_config.5] + document RemoteForward usage with 0 listen port 20090212 - (djm) [sshpty.c] bz#1419: OSX uses cloning ptys that automagically @@ -5150,5 +5153,5 @@ OpenServer 6 and add osr5bigcrypt support so when someone migrates passwords between UnixWare and OpenServer they will still work. OK dtucker@ -$Id: ChangeLog,v 1.5191 2009/02/14 05:34:05 djm Exp $ +$Id: ChangeLog,v 1.5192 2009/02/14 05:34:21 djm Exp $ diff --git a/ssh_config.5 b/ssh_config.5 index 376d928a1..1f8e6c0bd 100644 --- a/ssh_config.5 +++ b/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