
298 ◾ Network Attacks and Defenses: A Hands-on Approach
Click on the “Open” button and the connection will be estab-
lished. Click “Yes” as shown next to add the SSH server key to
the PuTTY cache.
Log in to the SSH server using the same authentication creden-
tials of Telnet session, as shown below.
Sniff SSH packets and capture them using the CommView
sniffer. The following screenshot shows that the SSH session is
encrypted and, consequently, the attacker cannot make use of
any captured packet.