Failed to read host key

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web8

  • via sshtools by ad-rocha
    , 1 year ago
    Failed to read host key
  • via sshtools by iandavies
    , 1 year ago
    Failed to read host key
  • Failed to read host key
  • Stack trace

    • 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.j2ssh.transport.TransportProtocolServer.onBeginKeyExchange(Unknown Source) at com.sshtools.j2ssh.transport.TransportProtocolCommon.beginKeyExchange(Unknown Source) at com.sshtools.j2ssh.transport.TransportProtocolCommon.onMsgKexInit(Unknown Source) at com.sshtools.j2ssh.transport.TransportProtocolCommon.processMessages(Unknown Source) at com.sshtools.j2ssh.transport.TransportProtocolCommon.startBinaryPacketProtocol(Unknown Source) at com.sshtools.j2ssh.transport.TransportProtocolServer.startBinaryPacketProtocol(Unknown Source) at Source) at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.