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.
01 Telnet Login
For example, let's do a Telnet login experiment
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
3. Grab a bag online.
4. Client telnet login Server
5. Server to view the logon user in the current device
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
2. Go to telnet
3. View Telnet Data for Wireshark
4.You can see usernames and passwords
Telnet is very insecure.
02 SSH login
Then we can do the SSH test again.
The same topology diagram
1.We create a user in AAA
2.VTY Virtual Type Terminal
3. Turn on SSH Server
[Server] stelnet server enable
4.Clinet ssh remote login to Server for the first time
5. Check out Wireshark's Net Mouth Grab Bag
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