edu.columbia.cs.irt.sipcloud
Class SshClient

java.lang.Object
  extended by edu.columbia.cs.irt.sipcloud.SshClient

public class SshClient
extends java.lang.Object

Author:
jyk

Nested Class Summary
static class SshClient.MyLogger
           
 
Constructor Summary
SshClient(java.lang.String host)
           
 
Method Summary
 int exec(java.lang.String command)
           
 int exec(java.lang.String command, boolean enablePty)
           
 void setUser(java.lang.String user)
           
 boolean testConnection()
           
 boolean uploadFile(java.lang.String localFilePath, java.lang.String remoteFilePath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SshClient

public SshClient(java.lang.String host)
Method Detail

setUser

public void setUser(java.lang.String user)

testConnection

public boolean testConnection()

exec

public int exec(java.lang.String command)

exec

public int exec(java.lang.String command,
                boolean enablePty)

uploadFile

public boolean uploadFile(java.lang.String localFilePath,
                          java.lang.String remoteFilePath)