Pakistan 's president , Gen. Pervez Musharraf , confirmed Tuesday for the first time that a Pakistani nuclear scientist had provided North Korea with centrifuge machines that could be used to make fuel for an atomic bomb , a Japanese news agency reported .