It's something I made up. I just fully extend my arm towards another person's shoulder and give it a brief rub/pat/shake with my open hand. The other comment where you rub shoulders and perform a tango dance move is definitely not what I had in mind.
Shake hands, lean in shoulder to shoulder, half hug with left arm optional.