

This typically speeds things up quite a bit. With BatchMode=yes you'll attempt to connect to another server, bypassing the use of username/passwords and only public/private keys. Ssh can be used in BatchMode to test connectivity.

Traceroute to skinner (192.168.1.3), 30 hops max, 60 byte packetsġ skinner (192.168.1.3) 0.867 ms 0.859 ms 0.929 msĪgain this tool will not show connectivity through one server to another (same issue as ping), but it will show you the path through the network that your taking to get to another server. $ echo $?Īnother command you can use to check connectivity is traceroute. If it has the value 0 then it was successful, anything else and a problem occurred. You can check the status of this command through the use of this variable, $?. You can gate how long ping will attempt to ping another server through the use of the count switch ( -c).

This will check to see if any of the servers you're attempting to connect through, but won't be able to see if middle-server-1 can reach server-b, for example. For checking server connectivity you have 4 tools at your disposal.
