This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ssh-cipher-benchmark.sh - Assesses speed of SSH encryption between specific hosts. | |
# Usage: | |
# ssh-cipher-benchmark.sh [script options] [cipher selection] | |
# 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? |