............In case of password authentication the game is over: the attacker can see the password sent by the client, relay it to the server, and basically do whatever he or she wants............So public-key authentication has somewhat unexpected side effect of preventing MITM. Nice to know.