SSH vs Telnet protocols
Some days ago I posted about SSH, but maybe some of you don´t know what is that. I will explain in this post the definition of SSH and Telnet, which is another network protocol really interesting.
Now, what is SSH?
SSH is a cryptographic network protocol that is widely used to access and manage a device remotely. The full form of SSH is Secure Shell is a major protocol to access the network devices and servers over the internet. It helps you to log into another computer over a network and allows you to execute commands in a remote machine. You can move files from one machine to another. SSH was designed as a replacement for Telnet.
And, what is Telnet?
Telnet is the standard TCP/IP protocol for virtual terminal service. It is a virtual terminal protocol used mostly by network administrators to remotely access and manage devices. Administrator can access the device by telnetting to the IP address or hostname of a remote device. To use telnet, you must have a software (Telnet client) installed. On a remote device, a Telnet server must be installed and running. Telnet uses the TCP port 23 by default. The encryption "Encryption") used by SSH is intended to provide confidentiality and integrity of data over an unsecured network, such as the Internet.
Main differences of these two protocols
- SSH runs on port 22 by default, whereas Telnet uses port 23.
- SSH is more secure. There are some vulnerabilities in Telnet which are overcomed in SSH.
- Telnet´s main purpose is to use a virtual terminal service. SSH is used to execute commands in a remote machine.
- A very important difference is that data is transferred in plain text in Telnet protocol while SSH sends it encrypted through a secure channel. Having said that, Telnet is more suitable for private networks and SSH for public ones.
I hope you like today´s post. Follow me for more!