Return Code and SSH2 Functions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
omriar
Forum Newbie
Posts: 1
Joined: Thu Jul 29, 2010 8:44 am

Return Code and SSH2 Functions

Post 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!
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Re: Return Code and SSH2 Functions

Post by Jade »

From what I found in the php docs for SSH2 it looks like you only have access to those two. Sorry charlie.
Post Reply