From db9039d0b45f90cdbcaf970e9ab11f188fffed1f Mon Sep 17 00:00:00 2001 From: djm Date: Sat, 14 Feb 2009 05:33:49 +0000 Subject: [PATCH] - djm@cvs.openbsd.org 2009/02/12 03:42:09 [ssh.1] document -R0:... usage --- ChangeLog | 3 +++ ssh.1 | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 02c83fd2..6f761aae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,9 @@ [monitor.c] some paranoia: check that the serialised key is really KEY_RSA before diddling its internals + - djm@cvs.openbsd.org 2009/02/12 03:42:09 + [ssh.1] + document -R0:... usage 20090212 - (djm) [sshpty.c] bz#1419: OSX uses cloning ptys that automagically diff --git a/ssh.1 b/ssh.1 index 568b5314..2bbbe10b 100644 --- a/ssh.1 +++ b/ssh.1 @@ -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: ssh.1,v 1.280 2008/11/09 12:34:47 tobias Exp $ +.\" $OpenBSD: ssh.1,v 1.281 2009/02/12 03:42:09 djm Exp $ .Dd $Mdocdate$ .Dt SSH 1 .Os @@ -563,6 +563,13 @@ will only succeed if the server's .Cm GatewayPorts option is enabled (see .Xr sshd_config 5 ) . +.Pp +If the +.Ar port +argument is +.Dq 0 , +the listen port will be dynamically allocated on the server and reported +to the client at run time. .It Fl S Ar ctl_path Specifies the location of a control socket for connection sharing. Refer to the description of -- 2.45.1