changeset 367:b82713cd787d

debug kex error
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 10:44:51 -0700
parents 098bb036e0a7
children b198ea5c5ffd
files src/ch/ethz/ssh2/transport/KexManager.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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>();