Why Choose SSH Over Telnet? Security Experiment Reveals Key Differences

2025-05-10 Visits:

Why do you prefer SSH instead of Telnet? An experiment will show you how!

Good evening, my friends.

Yesterday a classmate asked me: teacher why everyone connected to the server, such as connecting cloud server, cloud host are using SSH login, rather than Telnet login?

I said, "It's for safety."

Today we talk about why we recommend using SSH remote login, and remote login is nothing more than three ways of telnet, ssh and web login.

But in the ordinary online network, try not to use telnet. Our devices in the connection simulator can use telnet, but in the real live network, it is not safe to use tel net because people will catch their usernames and passwords.

Therefore, it is relatively unsafe to use a secure encrypted connection, and it is recommended that everyone use ssh to log on to the device.

If you want to get more information, scan the QR code below to contact customer service.

图片.png


01 Telnet Login

For example, let's do a Telnet login experiment

image.png


1. Enter the numbered 0, 1, 2, 3, 4 VTY virtual interface user interface view

[Server]user-interface vty 0 4

2.Server sets authentication mode for VTY users

image.png


3. Grab a bag online.

4. Client telnet login Server

image.png

5. Server to view the logon user in the current device

image.png


This is the way to use the password directly, or we can use the AAA username and password for identity authentication.

1.  Configure username and password to log in

image.png


2.  Go to telnet

image.png


3.  View Telnet Data for Wireshark

image.png


4.You can see usernames and passwords


Telnet is very insecure.

02 SSH login

Then we can do the SSH test again.

image.png

The same topology diagram

1.We create a user in AAA

image.png


2.VTY Virtual Type Terminal

image.png


3. Turn on SSH Server

[Server] stelnet server enable

4.Clinet ssh remote login to Server for the first time


image.png


5. Check out Wireshark's Net Mouth Grab Bag

image.png


The data has been encrypted.

Note that unlike telnet, SSH does not see the username and password, but encrypts the transmission.

So students connect to the public network server in the future, remember to use SSH login, do not use Telnet login, because the public network is not safe.


For more SSH resources, follow the Facebook account&youtube account: Thinkmo Dumps

Leave Your Message