Class Net::SSH::Authentication::Methods::Abstract
In: lib/net/ssh/authentication/methods/abstract.rb
Parent: Object

The base class of all user authentication methods. It provides a few bits of common functionality.

Methods

Included Modules

Constants Loggable

Attributes

key_manager  [R]  The key manager object. Not all authentication methods will require this.
session  [R]  The authentication session object

Public Class methods

Instantiates a new authentication method.

Public Instance methods

Sends a message via the underlying transport layer abstraction. This will block until the message is completely sent.

Returns the session-id, as generated during the first key exchange of an SSH connection.

Creates a new USERAUTH_REQUEST packet. The extra arguments on the end must be either boolean values or strings, and are tacked onto the end of the packet. The new packet is returned, ready for sending.

[Validate]