com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Failed to read host key

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SshDaemon: Failed to read host key
    via sshtools by ad-rocha
    ,
  • Cannot start sshdaemon server
    via sshtools by iandavies
    ,
  • public/private key passphrase and SshServer
    via sshtools by bwr
    ,
    • com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Failed to read host key at com.sshtools.j2ssh.transport.publickey.SshtoolsPrivateKeyFormat.decryptKeyblob(Unknown Source) at com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFile.toPrivateKey(Unknown Source) at com.sshtools.daemon.configuration.ServerConfiguration.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1337) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at javax.xml.parsers.SAXParser.parse(SAXParser.java:198) at com.sshtools.daemon.configuration.ServerConfiguration.reload(Unknown Source) at com.sshtools.daemon.configuration.ServerConfiguration.<init>(Unknown Source) at com.sshtools.daemon.configuration.XmlServerConfigurationContext.initialize(Unknown Source) at com.sshtools.j2ssh.configuration.ConfigurationLoader.initialize(Unknown Source) at br.com.codecompany.rysys.fgl.emulator.SshDaemon.main(SshDaemon.java:74)
    No Bugmate found.