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

sshtools | ad-rocha | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SshDaemon: Failed to read host key

    sshtools | 8 years ago | ad-rocha
    com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException: Failed to read host key

    Root Cause Analysis

    1. com.sshtools.j2ssh.transport.publickey.InvalidSshKeyException

      Failed to read host key

      at com.sshtools.j2ssh.transport.publickey.SshtoolsPrivateKeyFormat.decryptKeyblob()
    2. com.sshtools.j2ssh
      SshPrivateKeyFile.toPrivateKey
      1. com.sshtools.j2ssh.transport.publickey.SshtoolsPrivateKeyFormat.decryptKeyblob(Unknown Source)
      2. com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFile.toPrivateKey(Unknown Source)
      2 frames
    3. com.sshtools.daemon
      ServerConfiguration.startElement
      1. com.sshtools.daemon.configuration.ServerConfiguration.startElement(Unknown Source)
      1 frame
    4. Java RT
      SAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
      2. com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1337)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
      6. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
      8. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      9. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      10. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      11. com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      12. javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
      13. javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
      13 frames
    5. com.sshtools.daemon
      XmlServerConfigurationContext.initialize
      1. com.sshtools.daemon.configuration.ServerConfiguration.reload(Unknown Source)
      2. com.sshtools.daemon.configuration.ServerConfiguration.<init>(Unknown Source)
      3. com.sshtools.daemon.configuration.XmlServerConfigurationContext.initialize(Unknown Source)
      3 frames
    6. com.sshtools.j2ssh
      ConfigurationLoader.initialize
      1. com.sshtools.j2ssh.configuration.ConfigurationLoader.initialize(Unknown Source)
      1 frame
    7. br.com.codecompany
      SshDaemon.main
      1. br.com.codecompany.rysys.fgl.emulator.SshDaemon.main(SshDaemon.java:74)
      1 frame