class Net::SSH::Authentication::Methods::Publickey

def send_request(pub_key, username, next_service, signature=nil)

authentication request.
Builds and sends a request formatted for a public-key
def send_request(pub_key, username, next_service, signature=nil)
  msg = build_request(pub_key, username, next_service, !signature.nil?)
  msg.write_string(signature) if signature
  send_message(msg)
end