public interface SshClient
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
SshClient.Factory  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
connect()  | 
void | 
disconnect()  | 
ExecResponse | 
exec(String command)
Execute a process and block until it is complete 
 | 
ExecChannel | 
execChannel(String command)
Execute a process and allow the user to interact with it. 
 | 
Payload | 
get(String path)  | 
String | 
getHostAddress()  | 
String | 
getUsername()  | 
void | 
put(String path,
   Payload contents)  | 
void | 
put(String path,
   String contents)  | 
String getUsername()
String getHostAddress()
ExecResponse exec(String command)
command - command line to invokeExecChannel execChannel(String command)
disconnect() is
 called.command - command line to invokevoid connect()
void disconnect()
Copyright © 2009-2013 jclouds. All Rights Reserved.