ExecuteCommandSsh Method

<< Click to Display Table of Contents >>

Navigation:  SshNetIbmi Class > SshNetIbmi Methods >

ExecuteCommandSsh Method

Summary

Execute any SSH command(s) over open command connection.

 

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

 

The same connection is re-used if multiple subsequent commands are called to simulate a shell session.

 

Parameters

 

command - SSH command(s) to execute

 

Returns

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