ssh2_auth_password
(PECL)
ssh2_auth_password — SSH 上でプレーンなパスワードを使用した認証を行う
SSH 上でプレーンなパスワードを使用した認証を行います。
例 2199. パスワードを用いた認証
ssh2_auth_password — SSH 上でプレーンなパスワードを使用した認証を行う
説明
bool ssh2_auth_password ( resource session, string username, string password )SSH 上でプレーンなパスワードを使用した認証を行います。
例 2199. パスワードを用いた認証
<?php
$connection = ssh2_connect('shell.example.com', 22);
if (ssh2_auth_password($connection, 'username', 'secret')) {
echo "Authentication Successful!\n";
} else {
die('Authentication Failed...');
}
?>
このページでは「PHP関数リファレンス」からssh2_auth_passwordを検索した結果を表示しています。
Weblioに収録されているすべての辞書からssh2_auth_passwordを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からssh2_auth_passwordを検索
Weblioに収録されているすべての辞書からssh2_auth_passwordを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からssh2_auth_passwordを検索
- ssh2_auth_passwordのページへのリンク