יהוה appeared to him by the terebinths of Mamre; he was sitting at the entrance of the tent as the day grew hot.
literally, יֹשֵׁב WAS SITTING — The word is written ישב (without the ו) and therefore may be translated “he sat”: He wished to rise, but the Holy One, blessed be He, said to him, Sit and I will stand. You shall form an example to your descendants — that I, in time to come, will stand in the assembly of the judges while they will sit, as it is said, (Psalms 82:1) “God standeth in the assembly of the judges” (Genesis Rabbah 48:7)
...
Torah should be taught only to a proper student - one whose deeds are attractive - or to a person whose behavior is unknown. However, [a potential student] who follows bad ways should be influenced to correct his behavior and trained to follow a straight path. [After he repents, his deeds] are examined and he is allowed to enter the house of study to be instructed.
Our Sages said: Whoever teaches an improper student is considered as if he throws a stone to Mercury, as [Proverbs 26:8] states: "As one who winds a stone in a sling, so is he who gives honor to a fool." There is no "honor" other than Torah, as [Proverbs 3:35] states: "The wise shall inherit honor."
Similarly, one should not study from a teacher who does not follow a proper path, even though he is a very wise man and his [instruction] is required by the entire nation, until he returns to a good path, as [implied by Malachi 2:7]: "For the priest's lips shall keep knowledge, and they shall seek Torah from his mouth, because he is a messenger from the Lord of Hosts."
Our Sages said: If a teacher resembles "a messenger of the Lord of Hosts," seek Torah from his mouth. If he does not, do not seek Torah from his mouth.
How is [Torah] taught? The teacher sits at the head and the students sit around him, so that all can see the teacher and hear his words.
The teacher should not sit on a chair, [while] his students [sit] on the ground. Rather, either everyone should sit on the ground or everyone should sit on chairs.
Originally, the teacher would sit and the students would stand. [However,] before the destruction of the Second Temple, everyone followed the practice of teaching while both they and the students were seated.
...