i want to change user passwords via my api, but my current code doesnt work.
Maybe someone could help me.
$cmd1 = "passwd ".$info['instanceFtpUser'];
$ssh->exec($cmd1."
");
$ssh->exec($newpass."
");
$ssh->exec($newpass."
");
$ssh->disconnect();
btw, i'm using phpseclib