net-ssh/net-ssh — pull request #99 by boz (2013-04-27 06:49:52+00:00)
Title: Remote forwarding: read opened port from server

Using remote_port=0 allows the remote system to allocate
the port automatically.