mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-09 08:47:50 +08:00
34 lines
514 B
ReStructuredText
34 lines
514 B
ReStructuredText
=====
|
|
ping
|
|
=====
|
|
|
|
Ping a remote host from the bastion
|
|
===================================
|
|
|
|
|
|
.. admonition:: usage
|
|
:class: cmdusage
|
|
|
|
--osh ping [--host HOST] [-c COUNT] [-s PKTSZ] [-t TTL] [-w TIMEOUT]
|
|
|
|
.. program:: ping
|
|
|
|
|
|
.. option:: --host HOST
|
|
|
|
Remote host to ping
|
|
|
|
.. option:: -c COUNT
|
|
|
|
Number of pings to send (default: infinite)
|
|
|
|
.. option:: -t TTL
|
|
|
|
TTL to set in the ICMP packet (default: OS dependent)
|
|
|
|
.. option:: -w TIMEOUT
|
|
|
|
Exit unconditionally after this amount of seconds
|
|
|
|
|
|
|