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: RunRemoteCommand <server[:port]> <username> <password> <command-line>
 

See Also:
RunRemoteCommand2

Constructor Summary
RunRemoteCommand()
           
 
Method Summary
static SecureRandomAndPad createSecureRandom()
           
static void main(java.lang.String[] argv)
           
 
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)

createSecureRandom

public static SecureRandomAndPad createSecureRandom()