public class SSHUtil extends Object
| Constructor and Description |
|---|
SSHUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
execute(String host,
int sshPort,
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials credentials,
int launchTimeoutSeconds,
String script,
String remoteLocation,
String args) |
static boolean |
waitForSSH(String host,
int sshPort) |
public static boolean waitForSSH(String host, int sshPort) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String execute(String host, int sshPort, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials credentials, int launchTimeoutSeconds, String script, String remoteLocation, String args) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2025. All rights reserved.