Hello,
This post refers to the difference between Telnet and SSH. Please read through in order to find the answer.
In the use of edesk tool process, we often use the telnet protocol and ssh protocol. Holding two kinds of connection in the end what is the difference and their own characteristics?
First of all, telnet and ssh are connected to the remote computer connection protocol, you can complete the control of the completion of the computer to facilitate maintenance. Second, they are based on the TCP / IP protocol, so the connection need to know the target machine's URL or domain name, and third, they are connected with the remote host channel, the purpose of the completion of the same, but not the means The same.
Telnet connection to the computer requires the following process:
The client establishes a TCP connection with the remote host; the remote machine notifies the client that it receives the connection and waits for the input; the client collects the user input after receiving the notification, changes the input string into the standard format and sends it to the remote machine; Enter the command, and execute, the results will be output to the client; client received a reply after the show on the interface.
It is worth noting that, when the telnet connection to establish a direct TCP connection, all the transmission of data are plaintext transmission, it is an unsafe way.
SSH is an abbreviation for Secrue Shell. SSH is a reliable protocol based on the application layer based on the security protocol.
Version number negotiation phase, SSH currently includes SSH1 and SSH2 two versions, the two sides through the version of the agreement to determine the use of the version.
Key and algorithm negotiation phase, SSH supports multiple encryption algorithms. The two sides negotiate the final algorithm based on the algorithms supported by the local end and the peer.
During the authentication phase, the SSH client initiates an authentication request to the server and the server authenticates the client
Session request phase, after the authentication, the client sends a session request to the server.
Interactive session stage, after the session request is passed, the server and the client interact with the information
It is worth noting that, because ssh encrypted encryption algorithm, the message needs to be decrypted, the message needs to be encrypted, resulting in its transmission speed, efficiency is much lower than telnet, however, it has Telnet does not have the security.
That's all for this post, hope it could help you to understand the SSH and Telnet.
If you have any questions, please comment below, and I'll help to resolve it.
Thanks.