I'm using J2SSH 0.2.9 SFTP. When connecting to specific SFTP site, I'm receiving the error
The host key signature is invalid
However connecting to the same site using WinSCP or Filezilla doesn't give me any kind of error.
The specific area of code which is of concern is
boolean result = pk.verifySignature(sig, sigdata);
log.info("The host key signature is " +
(result ? " valid" : "invalid"));
Within TransportProtocolClient.java
The key is a SSH-DSS if it makes a difference.