examples
Class RunRemoteCommand
java.lang.Object
examples.RunRemoteCommand
public class RunRemoteCommand
- extends java.lang.Object
This is a simple demo of running a single command on a ssh2 server
in exactly the same way an ordinary unix ssh2 client works when
passed a command-line to be run.
Usage:
java -cp examples.jar examples.RunRemoteCommand
server[:port] username password
command_line
- See Also:
RemoteShellScript
,
RunRemoteCommand2
Method Summary |
static void |
main(java.lang.String[] argv)
Run the application |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunRemoteCommand
public RunRemoteCommand()
main
public static void main(java.lang.String[] argv)
- Run the application