I built clibench, a dual-protocol device emulator in Go, to measure SSH vs HTTPS CLI performance at realistic latencies. Here’s the architecture, the code, and the numbers.
CLI Over HTTPS Part 2: Proving It


I built clibench, a dual-protocol device emulator in Go, to measure SSH vs HTTPS CLI performance at realistic latencies. Here’s the architecture, the code, and the numbers.

SSH-based network automation is slow at scale. Not because of the devices, but because of the protocol. Here’s what the SSH handshake actually costs and why HTTPS is a faster transport for CLI commands.