public class JenkinsSshClient extends DefaultSshClient
SSH_BEY
LATEEST_EXEC_SHELL_DEBUG, TEMP_PATH
STATUS_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, wrapperInput
chmod, chown, downloadFile, executeCommand, executeShellByFTP, executeShellByFTP, mv, rm_Rf, uploadFile, uploadFile
public 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
IOException
public int executeCommand(PrintStream logger, String command)
executeCommand
在接口中 SshClient
executeCommand
在类中 DefaultSshClient
Copyright © 2004-2015. All Rights Reserved.