Package nidaqdev.networkdaq
Class LinuxSSHCommander.MyUserInfo
java.lang.Object
nidaqdev.networkdaq.LinuxSSHCommander.MyUserInfo
- All Implemented Interfaces:
com.jcraft.jsch.UIKeyboardInteractive
,com.jcraft.jsch.UserInfo
- Enclosing class:
LinuxSSHCommander
public abstract static class LinuxSSHCommander.MyUserInfo
extends Object
implements com.jcraft.jsch.UserInfo, com.jcraft.jsch.UIKeyboardInteractive
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
promptKeyboardInteractive
(String destination, String name, String instruction, String[] prompt, boolean[] echo) boolean
promptPassphrase
(String message) boolean
promptPassword
(String message) boolean
promptYesNo
(String str) void
showMessage
(String message)
-
Constructor Details
-
MyUserInfo
public MyUserInfo()
-
-
Method Details
-
getPassword
- Specified by:
getPassword
in interfacecom.jcraft.jsch.UserInfo
-
promptYesNo
- Specified by:
promptYesNo
in interfacecom.jcraft.jsch.UserInfo
-
getPassphrase
- Specified by:
getPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
promptPassphrase
- Specified by:
promptPassphrase
in interfacecom.jcraft.jsch.UserInfo
-
promptPassword
- Specified by:
promptPassword
in interfacecom.jcraft.jsch.UserInfo
-
showMessage
- Specified by:
showMessage
in interfacecom.jcraft.jsch.UserInfo
-
promptKeyboardInteractive
public String[] promptKeyboardInteractive(String destination, String name, String instruction, String[] prompt, boolean[] echo) - Specified by:
promptKeyboardInteractive
in interfacecom.jcraft.jsch.UIKeyboardInteractive
-