ssh2_shellとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > ssh2_shellの意味・解説 

ssh2_shell

(PECL)
ssh2_shell — 対話式のシェルを要求する

説明

resource ssh2_shell ( resource session [, string term_type [, array env [, int width [, int height [, int width_height_type]]]]] )
リモートエンド上のシェルをオープンし、そのためのストリームを割り当てます。 term_type は対象システムの /etc/termcap に記載されたエントリの一つに相当し、 デフォルトは vanilla です。 env には、 対象の環境に設定する名前/値の組の連想配列を渡すことができます。
widthheight は、シェルプロセスに対して割り当てられた仮想端末の幅と高さを定義します。 width_height_typeSSH2_TERM_UNIT_CHARS もしくは SSH2_TERM_UNIT_PIXELS のいずれかです。
例 2220. コマンドを実行する
<?php
$connection = ssh2_connect('shell.example.com', 22);
ssh2_auth_password($connection, 'username', 'password');

$stream = ssh2_shell($connection, 'vt102', null, 80, 24, SSH2_TERM_UNIT_CHARS);
?>

ssh2_exec(), ssh2_tunnel(), ssh2_fetch_stream() も参照ください。


このページでは「PHP関数リファレンス」からssh2_shellを検索した結果を表示しています。
Weblioに収録されているすべての辞書からssh2_shellを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からssh2_shellを検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ssh2_shell」の関連用語

ssh2_shellのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ssh2_shellのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2024 by the PHP Documentation Group.

©2024 GRAS Group, Inc.RSS