Help for this page
$ssh->system({stdin_data => $userstring}, "/usr/sbin/chpasswd");
$ssh->system("echo", $userstring, \\"|", "/usr/sbin/chpasswd")