Package org.jclouds.ssh
Interface SshClient
- All Known Implementing Classes:
 JschSshClient,SshjSshClient
public interface SshClient
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()voidExecute a process and block until it is completeexecChannel(String command) Execute a process and allow the user to interact with it.booleanvoidvoid 
- 
Method Details
- 
getUsername
String getUsername() - 
getHostAddress
String getHostAddress() - 
put
 - 
get
 - 
exec
Execute a process and block until it is complete- Parameters:
 command- command line to invoke- Returns:
 - output of the command
 
 - 
execChannel
Execute a process and allow the user to interact with it.- Parameters:
 command- command line to invoke- Returns:
 - reference to the running process
 - Since:
 - 1.5.0
 
 - 
connect
void connect() - 
disconnect
void disconnect() - 
isConnected
boolean isConnected() - 
put
 
 -