This directory contains the network services. This defines network related commands like ping
, traceroute
, netstat
, etc.
What is not part of network service? Commands related to protocols build on top of network layer like http
, ftp
, ssh
, etc.
Check if a TCP port is open on a remote host.
sanssh <sanssh-args> network tcp-check <host>:<port> [--timeout <timeout>]
Where:
<sanssh-args>
common sanssh arguments<host>
is the host to check<port>
is the port to check<timeout>
timeout in seconds to wait for the connection to be established. Default is 3 seconds.