Posts

Showing posts with the label ubuntu

What Happens Under the Hood of SSH Connections? Analyzing SSH Packets with Wireshark.

Image
Prerequisites Before we dive into packet analysis, make sure you have the following set up: Two Endpoints (VMs or Containers) Wireshark tcpdump It’s also important to have a basic understanding of: TCP SSH Linux Introduction In this blog post, I'll guide you through the step-by-step process of analyzing SSH connection packets using Wireshark. Whether you're troubleshooting SSH issues or simply curious about how SSH works at the protocol level, this tutorial is for you. We'll cover both successful and failed SSH connections, examining the packet flow and explaining what’s happening in the background. I've already set up a working environment for this use case. Let’s dive right into packet capture and analysis, and uncover what happens during an SSH connection. Fig. 1: A list of servers with roles and IP addresses for quick network reference. Breaking Down Packet Capture and Analysis: A Step-by-Step Guide In this post, we'll break down the process of packet capture...

How to troubleshoot SSH Connection issues / SSH Connection Refused - Solved || Explained

Image
The Story..... We have two machines amazing-seasnail and first-shiner . first one being client and latter being server . ubuntu user on amazing-seasnail machine is configured connect to first-shiner . But due to some reason i am not able to do ssh login to first-shiner.         I have tried to simulate few problems and how to go about in these situations and what could be possible causes Here it goes .......  Thanks you guys !! Have a great day ahead. Stay home stay safe, Keep learning keep  sharing .