Class SshKeyCommand

java.lang.Object
com.sshtools.commands.AbstractJadaptiveCommand
com.sshtools.keys.SshKeyCommand
All Implemented Interfaces:
com.sshtools.commands.JadaptiveCommand, Callable<Integer>
Direct Known Subclasses:
KeyScriptsClean

public abstract class SshKeyCommand extends com.sshtools.commands.AbstractJadaptiveCommand
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.sshtools.client.SshClient
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    configureCommonBuilder(com.sshteam.lib.AbstractSshAutomationBuilder<?,?> builder)
     
    protected abstract com.sshteam.lib.AbstractSshAutomationBuilder<?,?>
     
    protected final Integer
     
    protected String
     
    protected String
    readPassword(String prompt, boolean useCommandPassword)
     

    Methods inherited from class com.sshtools.commands.AbstractJadaptiveCommand

    call, getApp, getPreferences, getScheduler, getTerminal, getUpdateService, getVersion, isVerboseExceptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ssh

      protected com.sshtools.client.SshClient ssh
  • Constructor Details

    • SshKeyCommand

      protected SshKeyCommand()
  • Method Details

    • onCall

      protected final Integer onCall() throws Exception
      Specified by:
      onCall in class com.sshtools.commands.AbstractJadaptiveCommand
      Throws:
      Exception
    • createBuilder

      protected abstract com.sshteam.lib.AbstractSshAutomationBuilder<?,?> createBuilder()
    • configureCommonBuilder

      protected void configureCommonBuilder(com.sshteam.lib.AbstractSshAutomationBuilder<?,?> builder)
    • readPassword

      protected String readPassword(String prompt)
    • readPassword

      protected String readPassword(String prompt, boolean useCommandPassword)