org.jclouds.ssh
Interface SshClient

All Known Implementing Classes:
JschSshClient, SshjSshClient

public interface SshClient

Author:
Adrian Cole

Nested Class Summary
static interface SshClient.Factory
           
 
Method Summary
 void connect()
           
 void disconnect()
           
 ExecResponse exec(String command)
           
 Payload get(String path)
           
 String getHostAddress()
           
 String getUsername()
           
 void put(String path, Payload contents)
           
 void put(String path, String contents)
           
 

Method Detail

getUsername

String getUsername()

getHostAddress

String getHostAddress()

put

void put(String path,
         Payload contents)

get

Payload get(String path)

exec

ExecResponse exec(String command)

connect

@PostConstruct
void connect()

disconnect

@PreDestroy
void disconnect()

put

void put(String path,
         String contents)


Copyright © 2009-2011 jclouds. All Rights Reserved.