build_request (Net::SSH::UserAuth::Methods::HostBased)

    # File lib/net/ssh/userauth/methods/hostbased.rb, line 95
              def build_request( identity, next_service, username, hostname,
                   client_username )
              # begin
                buf = @buffers.writer
                buf.write_byte USERAUTH_REQUEST
                buf.write_string username
                buf.write_string next_service
                buf.write_string "hostbased"

                buf.write_string identity.ssh_type
                blob = @buffers.writer
                blob.write_key identity
                buf.write_string blob.to_s

                buf.write_string hostname
                buf.write_string client_username
                return buf.to_s
              end