Class | Net::SSH::UserAuth::Methods::KeyboardInteractive |
In: |
lib/net/ssh/userauth/methods/keyboard-interactive.rb
|
Parent: | Object |
Implements the "keyboard-interactive" SSH authentication method.
InfoRequest | = | Struct.new( :name, :instruction, :password, :prompts ) | Represents an information request from the server | |
Prompt | = | Struct.new( :prompt, :echo ) | Represents a single prompt in an InfoRequest. | |
USERAUTH_INFO_REQUEST | = | 60 | ||
USERAUTH_INFO_RESPONSE | = | 61 |
messenger | [W] | The messenger to use when communicating. |
Attempt to authenticate the given user for the given service. The data hash must specify a :password value, otherwise this will always return false.