Question: why ssh is secure than telnet?
Answer: In a word: encryption. "SSH is more secure than telnet because it's encrypted," is a common phrase (~2.3 million google hits on that set.) ... One of the key advantages of SSH over telnet is that the server authenticates itself to the client before it collects credentials from the client.