# File lib/chef/knife/bootstrap.rb, line 115
      def run 
        require 'highline'

        validate_name_args!

        $stdout.sync = true

        Chef::Log.info("Bootstrapping Chef on #{h.color(config[:server_name], :bold)}")

        begin
          knife_ssh.run
        rescue Net::SSH::AuthenticationFailed
          unless config[:ssh_password]
            puts "Failed to authenticate #{config[:ssh_user]} - trying password auth"
            knife_ssh_with_password_auth.run
          end
        end
      end