« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 14 for hostkey (0.002 sec.)
ホスト公開鍵を使用して認証を行う 12988
« ssh2_auth_agent ssh2_auth_none » PHP Manual SSH2 関数 ホスト公開鍵を使用して認証を行う 検索 ssh2_auth_hostbased_file (PECL ssh2 >= 0.9.0) ssh2_auth_hostbased_file — ホスト公開鍵を使用して認証を行う 説明 function ssh2_auth_hostbased_file ( ... false を返します。 例 例1 ホスト公開鍵を使用した認証 <?php $connection = ssh2_connect ( 'shell.example.com' , 22 , array( 'hostkey' => 'ssh-rsa' )); if ( ssh2_auth_hostbased_file ( $connection , 'remoteusername' , 'myhost.example.com' , '/usr/local/etc/ ... hostkey_rsa.pub' , '/usr/local/etc/hostkey_rsa' , 'secret' , 'localusername' )) { echo "Public Key Hostbased Authentication Successful\n" ; } else { die( 'Public Key ... SSH2 >= 0.7 が必要です。 関連キーワード: ssh auth string username ホスト 公開鍵 認証 hostbased file local 場合 privkeyfile hostkey rsa session hostname pubkeyfile passphrase connect 必要 ...
https://man.mtool.work/php/8.3/function.ssh2-auth-hostbased-file.html
ホスト公開鍵を使用して認証を行う 12988
« ssh2_auth_agent ssh2_auth_none » PHP Manual SSH2 関数 ホスト公開鍵を使用して認証を行う 検索 ssh2_auth_hostbased_file (PECL ssh2 >= 0.9.0) ssh2_auth_hostbased_file — ホスト公開鍵を使用して認証を行う 説明 function ssh2_auth_hostbased_file ( ... false を返します。 例 例1 ホスト公開鍵を使用した認証 <?php $connection = ssh2_connect ( 'shell.example.com' , 22 , array( 'hostkey' => 'ssh-rsa' )); if ( ssh2_auth_hostbased_file ( $connection , 'remoteusername' , 'myhost.example.com' , '/usr/local/etc/ ... hostkey_rsa.pub' , '/usr/local/etc/hostkey_rsa' , 'secret' , 'localusername' )) { echo "Public Key Hostbased Authentication Successful\n" ; } else { die( 'Public Key ... ibssh2 >= 0.7 と PHP/SSH2 >= 0.7 が必要です。 関連キーワード: auth username ホスト 公開鍵 認証 hostbased local privkeyfile hostkey session hostname pubkeyfile passphrase connect connection example Hostbased Authentication agent none resource 接続 暗号化 ...
https://man.mtool.work/php/8.3/function.ssh2-auth-hostbased-file.html
リモートサーバーのフィンガープリントを処理する 8384
« ssh2_fetch_stream ssh2_forward_accept » PHP Manual SSH2 関数 リモートサーバーのフィンガープリントを処理する 検索 ssh2_fingerprint (PECL ssh2 >= 0.9.0) ssh2_fingerprint — リモートサーバーのフィンガープリントを処理する 説明 function ssh2_fi ... ssh2_fingerprint ( $connection , SSH2_FINGERPRINT_MD5 | SSH2_FINGERPRINT_HEX ); if ( $fingerprint != $known_host ) { die( "HOSTKEY MISMATCH!\n" . "Possible Man-In-The-Middle Attack?" ); } ?> 関連キーワード: ssh fingerprint サーバー フィンガープリント リ ...
https://man.mtool.work/php/8.3/function.ssh2-fingerprint.html
リモートサーバーのフィンガープリントを処理する 8384
« ssh2_fetch_stream ssh2_forward_accept » PHP Manual SSH2 関数 リモートサーバーのフィンガープリントを処理する 検索 ssh2_fingerprint (PECL ssh2 >= 0.9.0) ssh2_fingerprint — リモートサーバーのフィンガープリントを処理する 説明 function ssh2_fi ... ssh2_fingerprint ( $connection , SSH2_FINGERPRINT_MD5 | SSH2_FINGERPRINT_HEX ); if ( $fingerprint != $known_host ) { die( "HOSTKEY MISMATCH!\n" . "Possible Man-In-The-Middle Attack?" ); } ?> 関連キーワード: fingerprint サーバー フィンガープリント リモー ...
https://man.mtool.work/php/8.3/function.ssh2-fingerprint.html
Authenticate using a public key in a variable 8227
« ssh2_auth_password ssh2_auth_pubkey_file » PHP Manual SSH2 関数 Authenticate using a public key in a variable 検索 ssh2_auth_pubkey (PECL ssh2 >= 1.4) ssh2_auth_pubkey — Authenticate using a public key in a variable 説明 function ssh2_aut ... を返します。 例 例1 Authentication using a public key <?php $connection = ssh2_connect ( 'shell.example.com' , 22 , array( 'hostkey' => 'ssh-rsa' )); $publicKey = file_get_contents ( '/home/username/.ssh/id_rsa.pub' ); $privateKey = file_get_contents ( ' ...
https://man.mtool.work/php/8.3/function.ssh2-auth-pubkey.html
ネゴシエートされたメソッドのリストを返す 8227
« ssh2_keepalive_send ssh2_poll » PHP Manual SSH2 関数 ネゴシエートされたメソッドのリストを返す 検索 ssh2_methods_negotiated (PECL ssh2 >= 0.9.0) ssh2_methods_negotiated — ネゴシエートされたメソッドのリストを返す 説明 function ssh2_methods_ ... ); echo "Encryption keys were negotiated using: { $methods [ 'kex' ]} \n" ; echo "Server identified using an { $methods [ 'hostkey' ]} with " ; echo "fingerprint: " . ssh2_fingerprint ( $connection ) . "\n" ; echo "Client to Server packets will use meth ...
https://man.mtool.work/php/8.3/function.ssh2-methods-negotiated.html
Authenticate using a public key in a variable 8227
« ssh2_auth_password ssh2_auth_pubkey_file » PHP Manual SSH2 関数 Authenticate using a public key in a variable 検索 ssh2_auth_pubkey (PECL ssh2 >= 1.4) ssh2_auth_pubkey — Authenticate using a public key in a variable 説明 function ssh2_aut ... を返します。 例 例1 Authentication using a public key <?php $connection = ssh2_connect ( 'shell.example.com' , 22 , array( 'hostkey' => 'ssh-rsa' )); $publicKey = file_get_contents ( '/home/username/.ssh/id_rsa.pub' ); $privateKey = file_get_contents ( ' ...
https://man.mtool.work/php/8.3/function.ssh2-auth-pubkey.html
ネゴシエートされたメソッドのリストを返す 8227
« ssh2_keepalive_send ssh2_poll » PHP Manual SSH2 関数 ネゴシエートされたメソッドのリストを返す 検索 ssh2_methods_negotiated (PECL ssh2 >= 0.9.0) ssh2_methods_negotiated — ネゴシエートされたメソッドのリストを返す 説明 function ssh2_methods_ ... ); echo "Encryption keys were negotiated using: { $methods [ 'kex' ]} \n" ; echo "Server identified using an { $methods [ 'hostkey' ]} with " ; echo "fingerprint: " . ssh2_fingerprint ( $connection ) . "\n" ; echo "Client to Server packets will use meth ...
https://man.mtool.work/php/8.3/function.ssh2-methods-negotiated.html
ファイルから読み込んだ公開鍵を使用した認証を行う 8069
« ssh2_auth_pubkey ssh2_connect » PHP Manual SSH2 関数 ファイルから読み込んだ公開鍵を使用した認証を行う 検索 ssh2_auth_pubkey_file (PECL ssh2 >= 0.9.0) ssh2_auth_pubkey_file — ファイルから読み込んだ公開鍵を使用した認証を行う 説明 function s ... た場合に false を返します。 例 例1 公開鍵を用いた認証 <?php $connection = ssh2_connect ( 'shell.example.com' , 22 , array( 'hostkey' => 'ssh-rsa' )); if ( ssh2_auth_pubkey_file ( $connection , 'username' , '/home/username/.ssh/id_rsa.pub' , '/home/userna ...
https://man.mtool.work/php/8.3/function.ssh2-auth-pubkey-file.html
ファイルから読み込んだ公開鍵を使用した認証を行う 7929
« ssh2_auth_pubkey ssh2_connect » PHP Manual SSH2 関数 ファイルから読み込んだ公開鍵を使用した認証を行う 検索 ssh2_auth_pubkey_file (PECL ssh2 >= 0.9.0) ssh2_auth_pubkey_file — ファイルから読み込んだ公開鍵を使用した認証を行う 説明 function s ... た場合に false を返します。 例 例1 公開鍵を用いた認証 <?php $connection = ssh2_connect ( 'shell.example.com' , 22 , array( 'hostkey' => 'ssh-rsa' )); if ( ssh2_auth_pubkey_file ( $connection , 'username' , '/home/username/.ssh/id_rsa.pub' , '/home/userna ...
https://man.mtool.work/php/8.3/function.ssh2-auth-pubkey-file.html
PREV 1 2 NEXT