You mean ebephile.
Pederast refers specifically to the practice of older men having sexual relationships with younger men (who are also their pupils). Refer to the word Pedagogy, which means philosophy of teaching.
Pedophile refers to a person who has a sexual attraction to someone who is pre-pubescent.