Difference between SSH and Telnet.

Computer NetworkInternetMCA

In order to access the machine at remote location networking provide us various application programs among which Telnet and SSH are the primary client server application program and uses remote terminal service which allows a user at one site to interact with a remote time-sharing system at another site as if the user’s keyboard and a display connected directly to the remote machine.

TELNET and SSH both are Layer - 7 application layer protocols and both uses TCP( transmission control protocol ) at transport layer.

Following are the important differences between Telnet and SSH.

Sr. No.KeyTelnetSSH
1DefinitionTelnet is the joint abbreviation of Telecommunications and Networks and it is a networking protocol best known for UNIX platform designed specifically for local area networks.On other hand SSH or Secure Shell is a program to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another.
2OperationTelnet uses the port 23 and it was designed specifically for local area networks.SSH on other hand runs on port 22 by default however it can be easily changed.
3SecurityAs compared to SSH Telnet is less secured.On other hand SSH is a very secure protocol because it shares and sends the information in encrypted form
4Data formatTelnet transfers the data in simple plain text.On other hand SSH uses Encrypted format to send data and also uses a secure channel.
5AuthenticationNo authentication or privileges are provided for user's authentication.As SSH is more secure so it uses public key encryption for authentication.
6PreferenceDue to its less security private networks are recommended for Telnet.On other hand SSH suitable for Public networks.
Updated on 24-Feb-2020 10:50:15