ssh2_shell 対話式のシェルを要求する &reftitle.description; resourcefalsessh2_shell resourcesession stringtermtype"vanilla" arraynullenv&null; intwidth80 intheight25 intwidth_height_typeSSH2_TERM_UNIT_CHARS リモートエンド上のシェルをオープンし、そのためのストリームを割り当てます。 &reftitle.parameters; session ssh2_connect のコールによって取得した SSH 接続リンク ID。 termtype termtype は対象システムの /etc/termcap に記載されたエントリの一つに相当します。 env env には、 対象の環境に設定する名前/値の組の連想配列を渡すことができます。 width 仮想端末の幅。 height 仮想端末の高さ。 width_height_type width_height_typeSSH2_TERM_UNIT_CHARS あるいは SSH2_TERM_UNIT_PIXELS のいずれかです。 &reftitle.returnvalues; 成功した場合、ストリームリソースを返します。 &return.falseforfailure;. &reftitle.examples; 対話シェルのリクエスト ]]> &reftitle.seealso; ssh2_exec ssh2_tunnel ssh2_fetch_stream