资 源 简 介
remote-cmd
This application will take a single command ""equivalent of ssh {host} {command}""
or it will take a file containing a list of commands to run on the remote host.
## Supported authentication ##
* RSA,DSA or RSA1(identity) key
* password
this should replace the need for rexec. by using libssh2 only one connection is made to the host and multiple commands are sent in serial. by default the command suppresses stdout, this keeps the bandwidth requirements low, and should run nicely on slow connections.
Valid Arguments
-d turns on DEBUG and displays the commands sent to the client to STDOUT -h displays the Usage Statement and exits RC 255 -p Causes the application to pause and prompt user to hit Enter When errors are encountered in the commands run on the client -v turns on Verbose mode, will display STDOUT and STDERR for each command run on the destination client. -s specifies skip errors that meet