This diagram shows the following exchange of messages between a client and a server in a simple telnet-like password authentication.