Guest User

Untitled

a guest
Feb 5th, 2018
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. compression no
  2.  
  3. ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,
  4. aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,
  5. aes256-cbc,arcfour
  6.  
  7. ciphers arcfour,blowfish-cbc
  8.  
  9. macs hmac-md5,hmac-sha1,umac-64@openssh.com,
  10. hmac-ripemd160,hmac-sha1-96,hmac-md5-96
  11.  
  12. macs hmac-md5-96
  13.  
  14. --
  15. -- Intel Xeon E5506(4 x 2.13 GHz), 50MB Random binary Data over localhost
  16. --
  17.  
  18. cipher mac speed
  19. ---------------------------------------------------------------
  20. aes192-cbc hmac-sha1 50MB/s
  21. arcfour256 hmac-sha2-512 49.9MB/s
  22. arcfour hmac-ripemd160 49.8MB/s
  23. aes256-cbc hmac-sha1-96 49.7MB/s
  24. aes128-cbc hmac-sha1-96 49.7MB/s
  25. aes192-cbc hmac-sha1 48.9MB/s
  26. arcfour hmac-ripemd160@openssh.com 48.8MB/s
  27. aes256-cbc hmac-sha1-96 48.8MB/s
  28. arcfour hmac-ripemd160@openssh.com 48.7MB/s
  29. aes128-cbc hmac-sha1 48.4MB/s
  30.  
  31.  
  32. --
  33. -- Raspberry PI B+, 10MB Random binary over localhost
  34. --
  35.  
  36. cipher mac speed
  37. ---------------------------------------------------------------
  38. arcfour256 umac-64@openssh.com 2.75MB/s
  39. arcfour128 umac-64@openssh.com 2.74MB/s
  40. arcfour umac-64@openssh.com 2.63MB/s
  41. arcfour umac-64@openssh.com 2.54MB/s
  42. arcfour hmac-md5-96 2.36MB/s
  43. arcfour128 hmac-md5 2.34MB/s
  44. arcfour256 hmac-md5 2.34MB/s
  45. arcfour256 umac-64@openssh.com 2.33MB/s
  46. arcfour256 hmac-md5-96 2.28MB/s
  47. arcfour256 hmac-md5-96 2.22MB/s
  48.  
  49. @@ -175,7 +175,7 @@
  50. for ((p = strsep(&cp, CIPHER_SEP)); p && *p != '';
  51. (p = strsep(&cp, CIPHER_SEP))) {
  52. c = cipher_by_name(p);
  53. - if (c == NULL || c->number != SSH_CIPHER_SSH2) {
  54. + if (c == NULL || (c->number != SSH_CIPHER_SSH2 && c->number != SSH_CIPHER_NONE)) {
  55. debug("bad cipher %s [%s]", p, names);
  56. xfree(ciphers);
  57. return 0;
  58. @@ -343,6 +343,7 @@
  59. int evplen;
  60.  
  61. switch (c->number) {
  62. + case SSH_CIPHER_NONE:
  63. case SSH_CIPHER_SSH2:
  64. case SSH_CIPHER_DES:
  65. case SSH_CIPHER_BLOWFISH:
  66. @@ -377,6 +378,7 @@
  67. int evplen = 0;
  68.  
  69. switch (c->number) {
  70. + case SSH_CIPHER_NONE:
  71. case SSH_CIPHER_SSH2:
  72. case SSH_CIPHER_DES:
  73. case SSH_CIPHER_BLOWFISH:
  74.  
  75. Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr,none
  76.  
  77. # cat ~/.ssh/config
  78. Host 192.168.1.*
  79. Compression no
  80. Ciphers arcfour256,arcfour128,arcfour,blowfish-cbc,aes128-cbc,aes192-cbc,cast128-cbc,aes256-cbc
  81.  
  82. ssh -c none -m hmac-md5-96 -oKexAlgorithms=curve25519-sha256@libssh.org ....
  83.  
  84. #define CFLAG_NONE (1<<3)
  85. #define CFLAG_INTERNAL CFLAG_NONE /* Don't use "none" for packets */
  86.  
  87. #define CFLAG_INTERNAL 0
Add Comment
Please, Sign In to add comment