Good day.

Is there any way to send a ping request via tcp connection?

Roughly speaking, there is a raised ssh tunnel (tcp connection) to a specific host, you need to ping this host through it.

    2 answers 2

    This is possible if your tunnel is raised as described in man ssh in the SSH-BASED VIRTUAL PRIVATE NETWORKS section.

      ICMP is a diagnostic network debugging protocol. Ip are divided into three protocols tcp, udp and icmp. If you have a tunnel raised, then you can "ping" the remote side, but this will not be tcp, but icmp