Most Turkic languages use the Arabic words for greeting, namely salam/selam/merhaba etc. The exceptions are Tatar isänmesez and Uighur yakhshimusiz, the origin of which I do not know. Are they Turkic? What did Turkic people say to greet each other before those Arabic words entered their vocabulary?
The examples you gave are indeed Turkish, but they are not greeting words. Instead they are questions basically "How are you". You can say that in Turkish "Nasılsınız?".
The root Esen is used for greetings in old texts (Kutadgu Bilig, Divan-ı Lügati-t Türk), as more or less as it is used in modern Turkish Esenlikler olsun.