Last active
March 1, 2018 07:42
-
-
Save ABalanuta/a22c4b6b2bd63e1affbee97857e50bcd to your computer and use it in GitHub Desktop.
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
for i in `ssh -Q cipher`; do dd if=/dev/zero bs=1M count=300 2> /dev/null | ssh -c $i $USER@localhost "(time -p cat) > /dev/null" 2>&1 | grep real | awk '{print "'$i': "300 / $2" MB/s" }'; done | |
# /etc/ssh/ssh_config (or ~/.ssh/config) and sshd_config | |
Ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com | |
#https://turecki.net/content/getting-most-out-ssh-hardware-acceleration-tuning-aes-ni |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment