# File lib/net/ssh/multi/session_actions.rb, line 80 80: def open_channel(type="session", *extra, &on_confirm) 81: channels = sessions.map do |ssh| 82: ssh.open_channel(type, *extra) do |c| 83: c[:server] = c.connection[:server] 84: c[:host] = c.connection[:server].host 85: on_confirm[c] if on_confirm 86: end 87: end 88: Multi::Channel.new(master, channels) 89: end