(PECL ssh2 >= 0.9.0)
Execute a command on a remote server
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 ]]]]] )
Execute a command at the remote end and allocate a channel for it.
Parameters:
session
An SSH connection link identifier, obtaine