Class: Net::SSH::UserAuth::Methods::Password

Class | Net::SSH::UserAuth::Methods::Password
In: | lib/net/ssh/userauth/methods/password.rb
Parent: | Object

Implements the "password" SSH authentication method.

### Methods

authenticate new

### Included Modules

Net::SSH::UserAuth::Constants

### Attributes

messenger | [W] | The messenger to use when communicating.

### Public Class methods

new( buffers )

Create a new Password authenticator. It will use the given buffers factory to create new buffer instances.

### Public Instance methods

authenticate( next_service, username, data={} )

Attempt to authenticate the given user for the given service. The data hash must specify a `:password` value, otherwise this will always return false.

[Validate]