The Israeli military says it has shot and killed two Palestinians who attacked troops in a West Bank city.

The military says several explosive devices were hurled on Wednesday morning at soldiers securing Jewish worshippers at Joseph's Tomb in Nablus. Troops opened fire and killed two of the assailants.

The Palestinian Health Ministry identified them as 21-year-old Raed Hamadan and 20-year-old Zeid Nouri.

Late Tuesday, Israeli forces killed a Palestinian suspected of carrying out a weekend stabbing and shooting attack that left two Israelis dead near a West Bank settlement. The military says 19-year-old Omar Abu Leila was fatally shot when he opened fire on soldiers trying to arrest him.

The two-day manhunt for Abu Leila had raised tensions in Israel and the West Bank following a period of calm.