Uses of Class
org.sentrysoftware.metricshub.engine.common.exception.ControlledSshException
Packages that use ControlledSshException
-
Uses of ControlledSshException in org.sentrysoftware.metricshub.engine.strategy.utils
Methods in org.sentrysoftware.metricshub.engine.strategy.utils that throw ControlledSshExceptionModifier and TypeMethodDescriptionstatic OsCommandResultOsCommandHelper.runOsCommand(@NonNull String commandLine, @NonNull TelemetryManager telemetryManager, Long commandTimeout, boolean isExecuteLocally, boolean isLocalhost) Run the OS Command on: Local (use java Process) Remote windows (use WMI/WinRm command) Remote Linux (use SSH)static StringOsCommandHelper.runSshCommand(@NonNull String command, @NonNull String hostname, @NonNull SshConfiguration sshConfiguration, long timeout, List<File> localFiles, String noPasswordCommand) Run an SSH command, checking if it can be executed on localhost or remotely.