RunCommandSsh Method

<< Click to Display Table of Contents >>

Navigation:  SshNetIbmi Class > SshNetIbmi Methods >

RunCommandSsh Method

Summary

Execute any single SSH command over open command connection using the SshNet.RunCommand method.

 

This can be used to execute any Qsh/Pase command on your IBM i over an SSH connection.

 

This command is used internally by many of the xmlservice-cli calls.

 

Parameters

 

command - SSH command(s) to execute

 

Returns

last exit status or 99 on general .Net error. 0=usually means success