Prerequisites
Before using ping, make sure you have:
- SSH access to your VPS
Basic Ping
Connect to your VPS:
ssh hxroot@YOUR_SERVER_IP -p 22
ping google.com
Press Ctrl+C to stop.
Limit Number of Pings
ping -c 5 google.com
Ping with Interval
ping -i 2 google.com
Understanding Output
64 bytes from 172.217.168.46: icmp_seq=1 ttl=55 time=1.23 ms
ttl - Time to live (hops remaining)
time - Response time in milliseconds (lower is better)
✅ You can now test network connectivity using ping.