changeset 368:b198ea5c5ffd

debug kex error
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 11:05:00 -0700
parents b82713cd787d
children 7a5943a514d5
files src/ch/ethz/ssh2/transport/KexManager.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/KexManager.java	Mon Aug 04 10:44:51 2014 -0700
+++ b/src/ch/ethz/ssh2/transport/KexManager.java	Mon Aug 04 11:05:00 2014 -0700
@@ -49,13 +49,13 @@
 
     private static final ArrayList<String> KEX_ALGS = new ArrayList<String>();
     static {
+        KEX_ALGS.add("ecdh-sha2-nistp256");
+        KEX_ALGS.add("ecdh-sha2-nistp384");
+        KEX_ALGS.add("ecdh-sha2-nistp521");
         KEX_ALGS.add("diffie-hellman-group-exchange-sha256");
         KEX_ALGS.add("diffie-hellman-group-exchange-sha1");
         KEX_ALGS.add("diffie-hellman-group14-sha1");
         KEX_ALGS.add("diffie-hellman-group1-sha1");
-        KEX_ALGS.add("ecdh-sha2-nistp256");
-        KEX_ALGS.add("ecdh-sha2-nistp384");
-        KEX_ALGS.add("ecdh-sha2-nistp521");
     }
 
     KexState kxs;