Help for this page
$timeout = 1; $command = '/usr/bin/ssh'; ... $exp->send("password\n"); $exp->soft_close();
$output = $exp->exp_after(); ... # and $output = $exp->send("password\n");