A Dorchester man who worked as an admissions counselor at Northeastern University has been sentenced to five years in prison for possessing child pornography.