public class JenkinsSshClient extends DefaultSshClient
SSH_BEYLATEEST_EXEC_SHELL_DEBUG, TEMP_PATHSTATUS_FAILED, STATUS_SUCCESS| 构造器和说明 |
|---|
JenkinsSshClient(ServerGroup serverGroup,
String ip) |
JenkinsSshClient(String ip,
int port,
String username,
String password) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
executeCommand(PrintStream logger,
String command) |
com.trilead.ssh2.Connection |
getConnection() |
static SshClient |
newInstance(ServerGroup group,
String ip) |
static SshClient |
newInstance(String ip,
int port,
String username,
String password) |
createSession, downloadFile, executeShell, getIp, getPassword, getPort, getUsername, setIp, setPassword, setPort, setUsername, testConnection, toString, uploadFile, wrapperInputchmod, chown, downloadFile, executeCommand, executeShellByFTP, executeShellByFTP, mv, rm_Rf, uploadFile, uploadFilepublic JenkinsSshClient(ServerGroup serverGroup, String ip)
public static SshClient newInstance(String ip, int port, String username, String password)
public static SshClient newInstance(ServerGroup group, String ip)
public com.trilead.ssh2.Connection getConnection()
throws IOException
IOExceptionpublic int executeCommand(PrintStream logger, String command)
executeCommand 在接口中 SshClientexecuteCommand 在类中 DefaultSshClientCopyright © 2004-2016. All Rights Reserved.