ssh_ping

command module
v0.0.0-...-0d88349 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

ssh_ping is a utility for measuring SSH session latency. It connects to a host over SSH, then repeatedly sends data to be echoed back for five seconds and measures statistics about the results.

Install and run it as follows:

> go install github.com/jacobsa/ssh_ping
> ssh_ping --host some.host.com
100 samples so far...
200 samples so far...
Collected 294 samples.

Min:      13.0 ms
p05:      13.6 ms
p50:      13.0 ms
p95:      21.1 ms
Max:      26.0 ms

Mean:     17.0 ms
Std. dev:  2.6 ms

Documentation

Overview

ssh_ping is a utility for measuring roundtrip latency of SSH connections.

Run it as follows:

ssh_ping --host foo.bar.com

This will make an SSH connection, then repeatedly send data to be echoed back to the client, measuring statistics about how long echoing takes. Stats are collected for five seconds and then printed to stdout.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL