That gets...really complicated... Because what exactly do you want to measure? Time to approx. beginning of the authentication exchange? Time to get authenticated? Time to get a command executed (echo hello? what shell?) ... anyway SmokePing has an SSH probe implemented by running ssh-keyscan and measuring the time taken, this gets (as I understand it) you time to roughly the beginning of authentication. https://oss.oetiker.ch/smokeping/probe/SSH.en.html On Thu, Jul 27, 2023 at 3:23 PM Roland Mainz <roland.mainz@xxxxxxxxxxx> wrote: > > Hi! > > ---- > > Before I start writing one myself... > ... did anyone ever wrote a tool to measure the latency of a ssh > connection, a la "ping" ? > > ---- > > Bye, > Roland > -- > __ . . __ > (o.\ \/ /.o) roland.mainz@xxxxxxxxxxx > \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer > /O /==\ O\ TEL +49 641 3992797 > (;O/ \/ \O;) > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev@xxxxxxxxxxx > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev -- "Genius might be described as a supreme capacity for getting its possessors into trouble of all kinds." -- Samuel Butler _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev