# File lib/net/ssh/connection/session.rb, line 403
    def on_open_channel(type, &block)
      channel_open_handlers[type] = block
    end