South Sudan's rebel chief Riek Machar has said he will attend direct talks with President Salva Kiir to end to a four-month long civil war, UN Secretary General Ban Ki-moon said Tuesday.