Macklin Celebrini scored the go-ahead goal in the third period as the San Jose Sharks ended a six-game losing streak with a 2-1 win over the visiting Pittsburgh Penguins on Monday.