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

sshtools | bwr | 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

    public/private key passphrase and SshServer

    sshtools | 1 decade ago | bwr
    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
      TransportProtocolCommon.run
      1. com.sshtools.j2ssh.transport.publickey.SshtoolsPrivateKeyFormat.decryptKeyblob(Unknown Source)
      2. com.sshtools.j2ssh.transport.publickey.SshPrivateKeyFile.toPrivateKey(Unknown Source)
      3. com.sshtools.j2ssh.transport.TransportProtocolServer.onBeginKeyExchange(Unknown Source)
      4. com.sshtools.j2ssh.transport.TransportProtocolCommon.beginKeyExchange(Unknown Source)
      5. com.sshtools.j2ssh.transport.TransportProtocolCommon.onMsgKexInit(Unknown Source)
      6. com.sshtools.j2ssh.transport.TransportProtocolCommon.processMessages(Unknown Source)
      7. com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(Unknown Source)
      8. com.sshtools.j2ssh.transport.TransportProtocolServer.startBinaryPacketProtocol(Unknown Source)
      9. com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source)
      9 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame