com.taobao.metamorphosis.tools.utils
类 SSHSupport

java.lang.Object
  继承者 com.taobao.metamorphosis.tools.utils.SSHSupport

public class SSHSupport
extends Object

作者:
shuihan

方法摘要
 String execute(String cmd)
           
static void main(String[] args)
           
static SSHSupport newInstance(String ip)
           
static SSHSupport newInstance(String user, String password, String ip)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

newInstance

public static SSHSupport newInstance(String user,
                                     String password,
                                     String ip)

newInstance

public static SSHSupport newInstance(String ip)

execute

public String execute(String cmd)
               throws RemoteExecuteException
抛出:
RemoteExecuteException

main

public static void main(String[] args)


Copyright © 2010–2013. All rights reserved.