Mercurial > 510Connectbot
comparison 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 |
comparison
equal
deleted
inserted
replaced
366:098bb036e0a7 | 367:b82713cd787d |
---|---|
38 public abstract class KexManager implements MessageHandler { | 38 public abstract class KexManager implements MessageHandler { |
39 protected static final Logger log = Logger.getLogger(KexManager.class); | 39 protected static final Logger log = Logger.getLogger(KexManager.class); |
40 | 40 |
41 private static final ArrayList<String> HOSTKEY_ALGS = new ArrayList<String>(); | 41 private static final ArrayList<String> HOSTKEY_ALGS = new ArrayList<String>(); |
42 static { | 42 static { |
43 HOSTKEY_ALGS.add("ssh-rsa"); | |
44 HOSTKEY_ALGS.add("ssh-dss"); | |
45 HOSTKEY_ALGS.add("ecdsa-sha2-nistp256"); | 43 HOSTKEY_ALGS.add("ecdsa-sha2-nistp256"); |
46 HOSTKEY_ALGS.add("ecdsa-sha2-nistp384"); | 44 HOSTKEY_ALGS.add("ecdsa-sha2-nistp384"); |
47 HOSTKEY_ALGS.add("ecdsa-sha2-nistp521"); | 45 HOSTKEY_ALGS.add("ecdsa-sha2-nistp521"); |
46 HOSTKEY_ALGS.add("ssh-rsa"); | |
47 HOSTKEY_ALGS.add("ssh-dss"); | |
48 } | 48 } |
49 | 49 |
50 private static final ArrayList<String> KEX_ALGS = new ArrayList<String>(); | 50 private static final ArrayList<String> KEX_ALGS = new ArrayList<String>(); |
51 static { | 51 static { |
52 KEX_ALGS.add("diffie-hellman-group-exchange-sha256"); | 52 KEX_ALGS.add("diffie-hellman-group-exchange-sha256"); |