com.taobao.metamorphosis.tools.utils
类 SSHSupport
java.lang.Object
com.taobao.metamorphosis.tools.utils.SSHSupport
public class SSHSupport
- extends Object
- 作者:
- shuihan
从类 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.