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

sshtools | iandavies | 1 decade 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

    Cannot start sshdaemon server

    sshtools | 1 decade ago | iandavies
    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
      ServerConfiguration.startElement
      1. com.sshtools.j2ssh.transport.publickey.SshtoolsPrivateKeyFormat.decryptKeyblob(Unknown Source)
      2. com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFile.toPrivateKey(Unknown Source)
      3. com.sshtools.j2ssh.configuration.ServerConfiguration.startElement(Unknown Source)
      3 frames
    3. Java RT
      SAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      5. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      7. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      8. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      9. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      10. javax.xml.parsers.SAXParser.parse(Unknown Source)
      11. javax.xml.parsers.SAXParser.parse(Unknown Source)
      11 frames
    4. com.sshtools.j2ssh
      ConfigurationLoader.initialize
      1. com.sshtools.j2ssh.configuration.ServerConfiguration.reload(Unknown Source)
      2. com.sshtools.j2ssh.configuration.ServerConfiguration.<init>(Unknown Source)
      3. com.sshtools.j2ssh.configuration.ConfigurationLoader.loadServerConfiguration(Unknown Source)
      4. com.sshtools.j2ssh.configuration.ConfigurationLoader.initialize(Unknown Source)
      4 frames
    5. com.sshtools.daemon
      SshDaemon.main
      1. com.sshtools.daemon.SshDaemon.main(Unknown Source)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    7. Java Service Wrapper
      WrapperStartStopApp.run
      1. org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:123)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame