diff src/ch/ethz/ssh2/transport/KexManager.java @ 367:b82713cd787d

debug kex error
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 10:44:51 -0700
parents 37f4a3b506d9
children b198ea5c5ffd
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/KexManager.java	Mon Aug 04 10:27:18 2014 -0700
+++ b/src/ch/ethz/ssh2/transport/KexManager.java	Mon Aug 04 10:44:51 2014 -0700
@@ -40,11 +40,11 @@
 
     private static final ArrayList<String> HOSTKEY_ALGS = new ArrayList<String>();
     static {
-        HOSTKEY_ALGS.add("ssh-rsa");
-        HOSTKEY_ALGS.add("ssh-dss");
         HOSTKEY_ALGS.add("ecdsa-sha2-nistp256");
         HOSTKEY_ALGS.add("ecdsa-sha2-nistp384");
         HOSTKEY_ALGS.add("ecdsa-sha2-nistp521");
+        HOSTKEY_ALGS.add("ssh-rsa");
+        HOSTKEY_ALGS.add("ssh-dss");
     }
 
     private static final ArrayList<String> KEX_ALGS = new ArrayList<String>();