java.lang.Object
com.marginallyclever.communications.transport.tcp.SSHUserInfo
All Implemented Interfaces:
com.jcraft.jsch.UserInfo

public class SSHUserInfo extends Object implements com.jcraft.jsch.UserInfo
Authentication info for SSH.
  • Constructor Details

    • SSHUserInfo

      public SSHUserInfo()
  • Method Details

    • getPassphrase

      public String getPassphrase()
      Specified by:
      getPassphrase in interface com.jcraft.jsch.UserInfo
    • getPassword

      public String getPassword()
      Specified by:
      getPassword in interface com.jcraft.jsch.UserInfo
    • promptPassword

      public boolean promptPassword(String message)
      Specified by:
      promptPassword in interface com.jcraft.jsch.UserInfo
    • promptPassphrase

      public boolean promptPassphrase(String message)
      Specified by:
      promptPassphrase in interface com.jcraft.jsch.UserInfo
    • promptYesNo

      public boolean promptYesNo(String message)
      Specified by:
      promptYesNo in interface com.jcraft.jsch.UserInfo
    • showMessage

      public void showMessage(String message)
      Specified by:
      showMessage in interface com.jcraft.jsch.UserInfo