ethz.sshExec is an accessor using Active URI syntax with the following base identifiers:
and the following arguments: (for more details on argument passing details see here)
|Representation (java.lang.Object)||The command line to execute on the remote host (must be transreptable to String)|
|Representation (java.lang.Object)||ssh: URI of the remote file|
|Representation (java.lang.Object)||The ssh credentials|
The following verb is supported:
The following response representations can be returned for SOURCE requests:
|Readable Binary Stream|
This accessor throws no documented exceptions.
To use ethz.sshExec accessor you must import the module urn:org:netkernel:client:ssh:
active:sshExec executes a command on a remote SSH server. It makes the stdout of the remote process available to the ROC domain as an IReadableBinaryStream representation.
This is the command that will be executed on the remote host. It must be transreptable to java.lang.String.
The remote argument must be an ssh: URI including the hostname. For example:
The credentials argument are the ssh credentials required to connect to the remote host. See credentials section for details.
The following request would execute "uname -a" on the remote SSH server "server.com"
This would return a binary stream representation looking something like...
Linux server.com 2.6.24-24-server #1 SMP Wed Apr 15 15:41:09 UTC 2009 x86_64 GNU/Linux