Quickly check the public IP address of the machine running your agent. Useful for debugging network issues, verifying VPN connections, confirming server identity, or setting up firewall rules.
bash scripts/get-ip.sh
Returns the public IPv4 address (and IPv6 if available) by querying ifconfig.me.
Example output:
=== Public IP ===
IPv4: 203.0.113.42
IPv6: 2001:db8::1
curl (pre-installed on most systems)共 1 个版本