I am a student and study in a co-education so the girls shake hand with me i shake hand in the niyat of her sister i am right or wrong.
It is not even allowed for a boy to greet or reply the greetings of non-Mahram girls, so what about shaking hands! (Fatawa Shami, 9/530, Al-Dur Al-Mukhtar, 9/528)
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband