I don’t look at the pilot when boarding a plane. I'm terrified of looking into the cockpit and seeing a pilot who looks like an idiot or resembles someone who I think is an idiot.
I don't mind shaking the pilot's hand at the end of the flight and looking him or her in the eye. I'm simply avoiding the danger of spotting the pilot prior to takeoff and thinking, "Oh no. The person responsible for flying this aluminum tube looks like that idiot from freshman algebra."
Self care, people. It's important.