Tuesday, June 2, 2020

How to Use Telnet and SSH

How to Use Telnet and SSH


Hello, dear blog readers. In this article, we will talk about Telnet and SSH, which are remote server connection protocols, and compare our two protocols. Let's start with Telnet, our more senior protocol.

What is Telnet


Although Telnet is one of the TCP / IP protocols, it functions on the application layer. The clear name of the name is “Telecommunication Network” and the Turkish word is “Communication network”. Our protocol, which was widely used in the past, is almost not used today. We can say that today's use is in internal networks and server farms. Of course, it is still used by unconscious end users.

Our protocol functions from port 23 by default. The reason why it is not used today is that it cannot take its place among secure communication protocols. This is because it transmits communication in clear text without encryption. Anyone who listens to our network can easily follow the communication we have with the remote machine.

How to Use Telnet?


telnet ip_address / domain_name

If you login to your terminal in the form. If it is possible to access the device, you can log in by asking username and password, and you can also connect with the following scripts.

telnet
when he has the #telnet> header
ip_address / domain_name

In this way, you can still access by entering your username and password. Let's show an example of two links.

As Telnet progressed over the years and with the increase in the number of users on the internet, it was replaced by SSH. Let's examine SSH together.

What is SSH


SSH is also our favorite protocol for remote connections like Telnet. It runs on port 22 by default. Since Telnet has no security part, it first emerged as its backup. It is currently the most used protocol in remote machine connections. Unlike Telnet, SSH attaches importance to security and enabled communication to be transmitted encrypted.

How To Use SSH


While SSH is very simple to use on Linux-based systems and MacOS, it is quite simple to use SSH clients on Windows systems. The most commonly used for this is Putty. You can review the use of Putty from the link below.

Using SSH on Linux and macOS


If we look at its use in Linux and macOS, it is as follows.

Ssh user_name @ ip_address / domain_name

If you run the above command on the terminal, you are asked "Are you sure you want to connect?" asks a question. It asks you to answer this question as yes and enter the password of the user name. As you type the password, the password will not appear on the screen. I am writing, I am writing. When you enter your password, if the password you entered is correct, you will see the terminal of the remote machine coming in front of you, but if the password you entered is incorrect, it will ask you to enter the password again.
Share:

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.