connect_to_machine