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