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.
|1||Definition||Telnet 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.|
|2||Operation||Telnet 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.|
|3||Security||As 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|
|4||Data format||Telnet transfers the data in simple plain text.||On other hand SSH uses Encrypted format to send data and also uses a secure channel.|
|5||Authentication||No authentication or privileges are provided for user's authentication.||As SSH is more secure so it uses public key encryption for authentication.|
|6||Preference||Due to its less security private networks are recommended for Telnet.||On other hand SSH suitable for Public networks.|