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
IOException
InterruptedException
public 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
IOException
InterruptedException
Copyright © 2016–2024. All rights reserved.