correct Rexfile for ssh/sudo