kongjianweili / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

error in DSA host key algorithm name #668

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Can cause problem during negociations of host keys.

In com.trilead.ssh2.transport.KexManager, we have at line 58 :
HOSTKEY_ALGS.add("ssh-dsa");
but should be 
HOSTKEY_ALGS.add("ssh-dss");

since using DSA is the Algorithm used in the DSS Standard.
See the authorized values, e.g. here : 
http://www.ssh.com/manuals/server-zos-admin/62/ConfiguringHostKeyAlgorithms.html

Original issue reported on code.google.com by Houlec...@gmail.com on 6 Oct 2013 at 6:19