How to do it...

In this section, we will see how using SSH instead of Telnet can secure our data:

  1. Once SSH is installed and configured, we can try to connect to the server using SSH as shown here. Enter the password when prompted:

  1. At the same time, if we try to capture the traffic using Wireshark, we get the following details:

In the previous screenshot, we can see in the last lines that a Key Exchange was initiated between the client and server.

  1. When we go through the packets captured, we can see that Encrypted Packets are being exchanged between the client and the server shown as follows. This was not the case when using Telnet:

  1. Even if we try to see the details of the packet, we can't see any clear text data. We get an encrypted output, as shown here:

  1. So,we can see how SSH can help in securing data being communicated over the internet.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.48.135