Sri Lanka is bringing more than 200 sailors from an Iranian ship ashore after the vessel sought assistance near the Indian Ocean island nation.