ssh2_shell
ssh2_shell
(PECL ssh2 >= 0.9.0)
ssh2_shell — Request an interactive shell
Description
resource ssh2_shell ( resource $session [, string $term_type = "vanilla" [, array $env [, int $width = 80 [, int $height = 25 [, int $width_height_type = SSH2_TERM_UNIT_CHARS ]]]]] )
Open a shell at the remote end and allocate a stream for it.
Parameters
-
session
-
An SSH connection link identifier, obtained from a call to 登录查看完整内容