function genericssh_ssh($host, $username, $password, $command)
{
$connector = ssh2_connect("$host");
+ error_log("attempting connect to $host with $username");
+ if($connector) {
+ error_log("connector true");
+ } else {
+ error_log("connector false");
+ }
ssh2_auth_password($connector, "$username", "$password");
$stream = ssh2_exec($connector, "$command");
stream_set_blocking($stream, true);