cancel_remote (Net::SSH::Service::Forward::Driver)

    # File lib/net/ssh/service/forward/driver.rb, line 262
              def cancel_remote( remote_port, remote_host="127.0.0.1" )
                writer = @buffers.writer
                writer.write_string remote_host
                writer.write_long remote_port.to_i

                @connection.global_request( "cancel-tcpip-forward", writer
                ) do |success, response|
                  if success
                    @remote_forwards.delete remote_port
                  else
                    raise Net::SSH::Exception,
                      "could not cancel remote forward request on " +
                      "(#{remote_port},#{remote_host})"
                  end
                end
              end