    # File lib/chef/knife/ssh.rb, line 108
          def configure_session
            list = case config[:manual]
                   when true
                     @name_args[0].split(" ")
                   when false
                     r = Array.new
                     q = Chef::Search::Query.new
                     @action_nodes = q.search(:node, @name_args[0])[0]
                     @action_nodes.each do |item|
                       i = format_for_display(item)[config[:attribute]]
                       r.push(i) unless i.nil?
                     end
                     r
                   end
            (ui.fatal("No nodes returned from search!"); exit 10) if list.length == 0
            session_from_list(list)
          end