Interface SshConnectionOptions.KeyboardInteractive
- Enclosing class:
SshConnectionOptions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies responses for JSch keyboard-interactive authentication prompts.
-
Method Summary
-
Method Details
-
respond
String[] respond(String destination, String name, String instruction, String[] prompt, boolean[] echo) - Parameters:
destination- remote host identifiername- authentication method nameinstruction- server instruction textprompt- prompt labelsecho- whether each response should be echoed- Returns:
- one response per prompt
-