There are a couple of different ways you can ping another machine through SSH. The most common way is to use the ping command. You can also use the traceroute command to trace the path that your packets take to reach the other machine.