« Scaleway performance test » : différence entre les versions

De Linux Server Wiki
Aller à la navigation Aller à la recherche
(Page créée avec « =Protocole= Performance crypto ssh : <pre> ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub >> .ssh/authorized_keys ciphers="aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com... »)
 
Aucun résumé des modifications
Ligne 2 : Ligne 2 :
Performance crypto ssh :
Performance crypto ssh :
<pre>
<pre>
ssh-keygen -t rsa
ssh-keygen -t rsa -f ~/.ssh/id_rsa -P ""
cat ~/.ssh/id_rsa.pub >> .ssh/authorized_keys
cat ~/.ssh/id_rsa.pub >> .ssh/authorized_keys
ciphers="aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com aes256-gcm@openssh.com chacha20-poly1305@openssh.com"
ciphers="aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com aes256-gcm@openssh.com chacha20-poly1305@openssh.com"

Version du 27 octobre 2018 à 18:10

Protocole

Performance crypto ssh :

ssh-keygen -t rsa -f ~/.ssh/id_rsa -P ""
cat ~/.ssh/id_rsa.pub >> .ssh/authorized_keys
ciphers="aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com aes256-gcm@openssh.com chacha20-poly1305@openssh.com"
for cipher in $ciphers ; do
    for i in 1 2 3 ; do
        echo
        echo "Cipher: $cipher (try $i)"
        dd if=/dev/zero bs=4M count=1024 2>/root/tmp/dd.txt | pv --size 4G | time -p ssh -c "$cipher" root@localhost 'cat > /dev/null'
        grep -v records /root/tmp/dd.txt
    done
done

Test

Baremetal C1