summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2009-02-12 03:42:10 +0000
committerDamien Miller <djm@cvs.openbsd.org>2009-02-12 03:42:10 +0000
commit4e5e8e81ed14c88452904a7ac9ac2f394fbcb033 (patch)
tree76ff7358074f98cd99291ec3f8bbbc2663546be2
parent51b996defee642386dba18d69aedfe581a9f5207 (diff)
document -R0:... usage
-rw-r--r--usr.bin/ssh/ssh.111
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.1 b/usr.bin/ssh/ssh.1
index b66a1c34201..6a7cfbf13b6 100644
--- a/usr.bin/ssh/ssh.1
+++ b/usr.bin/ssh/ssh.1
@@ -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.1,v 1.280 2008/11/09 12:34:47 tobias Exp $
-.Dd $Mdocdate: November 9 2008 $
+.\" $OpenBSD: ssh.1,v 1.281 2009/02/12 03:42:09 djm Exp $
+.Dd $Mdocdate: February 12 2009 $
.Dt SSH 1
.Os
.Sh NAME
@@ -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