java.lang.Object
com.sshteam.lib.AbstractSshAutomation
com.sshteam.lib.SshKeyCleanAutomation
com.sshteam.lib.SshKeyDeployAutomation
-
Field Summary
Fields inherited from class com.sshteam.lib.SshKeyCleanAutomation
adaptiveConfiguration, confirmConfigChanges, id, keyServer, keyServerPort, platform, sftp, versionFields inherited from class com.sshteam.lib.AbstractSshAutomation
ssh -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterCommand(com.sshtools.sequins.Progress progress) protected voiddoCommand(com.sshtools.sequins.Progress progress) protected StringgetHomeDirectory(Platform platform, String user) Methods inherited from class com.sshteam.lib.SshKeyCleanAutomation
checkInstalled, execute, execute, getConfig, getHomeDirectory, getInstallPath, getSshdConfigPath, getTeamConfig, getTeamConfigPath, loadConfiguration, restartService, runCommand, runInShell, saveConfiguration, sudoWithExitCode, sudoWithExitCode, sudoWithOutput, uninstallDependenciesMethods inherited from class com.sshteam.lib.AbstractSshAutomation
beforeCommand, call, connect, getAgentSocket, getAuthenticationTimeout, getCachedPasswordOrPrompt, getCommandName, getHost, getIdentityFile, getPassphraseSupplier, getPasswordSupplier, getPort, getPrompter, getSsh, getUsername, isAgentAuthentication, isDefaultIdentities, isPasswordAuthentication, isRoot, isVerboseProgress, onConnected, readPassword, readPassword
-
Method Details
-
doCommand
protected void doCommand(com.sshtools.sequins.Progress progress) throws IOException, com.sshtools.common.ssh.SshException, com.sshtools.client.shell.ShellTimeoutException - Overrides:
doCommandin classSshKeyCleanAutomation- Throws:
IOExceptioncom.sshtools.common.ssh.SshExceptioncom.sshtools.client.shell.ShellTimeoutException
-
afterCommand
protected void afterCommand(com.sshtools.sequins.Progress progress) - Overrides:
afterCommandin classSshKeyCleanAutomation
-
getHomeDirectory
protected String getHomeDirectory(Platform platform, String user) throws IOException, com.sshtools.common.ssh.SshException, com.sshtools.client.shell.ShellTimeoutException - Throws:
IOExceptioncom.sshtools.common.ssh.SshExceptioncom.sshtools.client.shell.ShellTimeoutException
-