Question: what is the main difference between ssh and telnet?
Answer: The key difference between Telnet and SSH is that SSH uses encryption, which means that all data transmitted over a network is secure from eavesdropping. SSH uses the public key encryption for such purposes. Like Telnet, a user accessing a remote device must have an SSH client installed.