Skip to content

Instantly share code, notes, and snippets.

View Kraust's full-sized avatar

Kraust Kraust

View GitHub Profile
@Kraust
Kraust / ssh-cipher-benchmark.sh
Created August 10, 2019 12:22 — forked from joeharr4/ssh-cipher-benchmark.sh
Check speed of ssh cipher(s) on your system
#!/usr/local/bin/bash
# ssh-cipher-benchmark.sh - Assesses speed of SSH encryption between specific hosts.
# Usage:
# ssh-cipher-benchmark.sh <remotehost> [ciphers]
# Default ciphers: all we can find...
#
# Note: In some cases, the first cipher tested runs faster than the others, regardless of order.
# Cause of this is not known, but changing the order of testing shows it to be true. Run the
# first one twice if you suspect this. Perhaps it is due to buffering?