<?php
$host="ipadress";
$port="22";
$user="root";
$pass="12345678ab";
if($connect=ssh2_connect($host, $port)){
echo "Connection Completed!";
} else {
echo "Connection Failed!";
}
if($sifre=ssh2_auth_password($connect,$user,$pass)){
echo "Authentication Completed!";
} else {
echo "Authentication Failed!";
}
?>
İ'm put the right logindata into, on esxi 5.0 host the error is: "Authentication Failed!"
Although i can login on boths host with my Putty Client.