ssh2_exec

Example

 resource ssh2_exec ( resource $session , string $command [, string $pty [, array $env [, int $width = 80 [, int $height = 25 [, int $width_height_type = SSH2_TERM_UNIT_CHARS ]]]]] ) 

Description

Execute a command at the remote end and allocate a channel for it.

Return Values

Returns a stream on success or FALSE on failure.