public class SSHServer extends Object
| Constructor and Description |
|---|
SSHServer() |
| Modifier and Type | Method and Description |
|---|---|
SSHConnection |
accessConnection() |
SSHIdentity |
accessIdentity() |
SSHPropertiesFile |
accessProperties() |
SSHSFtp |
accessSFTP() |
SSHShellExecute |
accessShell() |
SSHStdOutErrSinkV2 |
accessStdOutErr() |
void |
connect() |
void |
disconnect() |
void |
doAutoFailIfNeeded(int nLastCommandResult) |
String |
getRemoteWorkingPath() |
boolean |
hasToFailOnErrorAutomatically() |
void |
setHost(String sHost) |
void |
setIdentity(SSHIdentity aIdentity) |
void |
setPort(int nPort) |
void |
setRemoteWorkingPath(String sPath) |
public void setIdentity(SSHIdentity aIdentity) throws Exception
Exceptionpublic void setRemoteWorkingPath(String sPath) throws Exception
Exceptionpublic boolean hasToFailOnErrorAutomatically()
throws Exception
Exceptionpublic SSHIdentity accessIdentity() throws Exception
Exceptionpublic SSHStdOutErrSinkV2 accessStdOutErr() throws Exception
Exceptionpublic SSHConnection accessConnection() throws Exception
Exceptionpublic SSHShellExecute accessShell() throws Exception
Exceptionpublic SSHPropertiesFile accessProperties() throws Exception
ExceptionCopyright © 2016 as-development.net. All rights reserved.