=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/ssh.1,v retrieving revision 1.304 retrieving revision 1.305 diff -u -r1.304 -r1.305 --- src/usr.bin/ssh/ssh.1 2010/03/26 06:54:36 1.304 +++ src/usr.bin/ssh/ssh.1 2010/05/16 12:55:51 1.305 @@ -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.304 2010/03/26 06:54:36 jmc Exp $ -.Dd $Mdocdate: March 26 2010 $ +.\" $OpenBSD: ssh.1,v 1.305 2010/05/16 12:55:51 markus Exp $ +.Dd $Mdocdate: May 16 2010 $ .Dt SSH 1 .Os .Sh NAME @@ -421,7 +421,9 @@ argument is interpreted and passed to the master process. Valid commands are: .Dq check -(check that the master process is running) and +(check that the master process is running), +.Dq forward +(request forwardings without command execution) and .Dq exit (request the master to exit). .It Fl o Ar option @@ -557,6 +559,9 @@ .Ql 0 , the listen port will be dynamically allocated on the server and reported to the client at run time. +When used together with +.Ic -O forward +the allocated port will be printed to the standard output. .It Fl S Ar ctl_path Specifies the location of a control socket for connection sharing, or the string