Class: Net::SSH::UserAuth::Methods::HostBased

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

Implements the host-based SSH authentication method.

### Methods

authenticate build_request new

### Included Modules

Net::SSH::UserAuth::Constants

### Attributes

hostname | [W] | The hostname to report to the server.
messenger | [W] | The messenger to use to send and receive messages.
session_id | [W] | The session-id of the current SSH session.

### Public Class methods

new( buffers )

Create a new

### Public Instance methods

authenticate( next_service, username, data={} )

Attempts to perform host-based authorization of the user. The data hash must contain a `:key_manager` key or the call will fail.

build_request( identity, next_service, username, hostname, client_username )

Build the "core" hostbased request string.

[Validate]