Class SetupSshKey

  • All Implemented Interfaces:
    org.glassfish.hk2.api.PostConstruct

    @Service(name="setup-ssh")
    @PerLookup
    @ExecuteOn(DAS)
    public final class SetupSshKey
    extends CLICommand
    This is a local command that distributes the SSH public key to remote node(s)
    • Constructor Detail

      • SetupSshKey

        public SetupSshKey()
    • Method Detail

      • validate

        protected void validate()
                         throws CommandException
        Description copied from class: CLICommand
        The validate method can be used by a subclass to validate that the type and quantity of parameters and operands matches the requirements for this command.
        Throws:
        CommandException - if execution of the command fails
        CommandValidationException - if there's something wrong with the options or arguments