Page 1 of 1

Return Code and SSH2 Functions

Posted: Thu Jul 29, 2010 8:54 am
by omriar
Hey,

I usel SSH2 functions to login remote servers, and run several commands with ssh2_exec on them.
I wish to get the return codes of my remote commands. Is it possible with SSH2 Function or I only can get the STDOUT & STDERR?
8O

Thanks!

Re: Return Code and SSH2 Functions

Posted: Thu Jul 29, 2010 1:12 pm
by Jade
From what I found in the php docs for SSH2 it looks like you only have access to those two. Sorry charlie.