A former substitute teacher in Connecticut has reached a deal that calls for her to lose her teaching licence after exposing students to online pornography.

Forty-one-year-old Julie Amero pleaded guilty on Friday in Norwich Superior Court in Connecticut to misdemeanor disorderly conduct. She will also pay a $US100 fine.

Pornography appeared on her classroom computer in 2004 in view of seventh-graders. Several computer experts believe the machine was infected with programs that caused the images to pop up beyond her control.