David Roscoe, 59, of Nelson Road, Southsea, admitted doing so between December 1 in 2019 and July 10, 2020.
Portsmouth magistrates imposed a three-year community order with sex offender programme, and 30 days’ rehabilitation.
He must p ay £500 compensation, a £90 surcharge and £85 costs. Roscoe must sign the sex offenders’ register for five years.
Emergency crews battling to save someone’s life on Southsea seafront
People warned not to go to popular beach this weekend unless they have booking
Southsea seafront incident: Police update after man found 'unresponsive'
Police update on probe into death of ‘Wiggy’ Symes after fatal dog attack in Fareham
River Ems crisis: Westbourne villagers plead with Portsmouth Water to introduce a hosepipe ban