open (RESULT, "/usr/bin/ssh -l root " . $host . " 'httpd startssl'|"); while (){ print $_; } close RESULT;