examples
Class RunRemoteCommand

java.lang.Object
  extended byexamples.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

Constructor Summary
RunRemoteCommand()
           
 
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
 

Constructor Detail

RunRemoteCommand

public RunRemoteCommand()
Method Detail

main

public static void main(java.lang.String[] argv)
Run the application