Dans :
Fonctions PHP
Concepts PHP
Fonctions MySQL
Fonctions HTML
Forum PHP/MySQL
Cours PHP/MySQL
Scripts PHP/MySQL
ssh2_auth_password tente une identification via SSH en utilisant un mot de passe en clair.
<?php$connection = ssh2_connect('shell.example.com', 22);if (ssh2_auth_password($connection, 'username', 'secret')) { echo "Identification réussi !\n";} else { die('Echec de l\'identification...');}?>