Nigeria scraped into the African Nations Cup quarter-finals on goal difference after beating Benin 2-0 on Tuesday to set up an appetising clash with hosts and arch-rivals Ghana.