You cant. It completally depends on the telnet program.Telnet is an unsecure protocal any crackers with more than2 brain cells (of which script kiddies lack) will know howto get a password from a telnet sessions.