ssh2_shell

PECL ssh2 >= 0.9.0
ssh2_shell - Request an interactive shell
Manual
Code Examples

Example #1 Requesting an interactive shell

PHP Version: