EHN: Robust system() and send_ssh_command()