Method Summary |
|
public boolean | getFailonerror() Get the failonerror flag. |
public String | getHost() Get the host. |
public int | getPort() Get the port attribute. |
protected SSHUserInfo | getUserInfo() Get the user information. |
public boolean | getVerbose() Get the verbose flag. |
public void | init() Initialize the task. |
protected Session | openSession() Open an ssh seession. |
public void | setFailonerror(boolean failure) Set the failonerror flag. |
public void | setHost(String host) Remote host, either DNS name or IP. |
public void | setKeyfile(String keyfile) Sets the keyfile for the user. |
public void | setKnownhosts(String knownHosts) Sets the path to the file that has the identities of
all known hosts. |
public void | setPassphrase(String passphrase) Sets the passphrase for the users key. |
public void | setPassword(String password) Sets the password for the user. |
public void | setPort(int port) Changes the port used to connect to the remote host. |
public void | setTrust(boolean yesOrNo) Setting this to true trusts hosts whose identity is unknown. |
public void | setUsername(String username) Username known to remote host. |
public void | setVerbose(boolean verbose) Set the verbose flag. |