com.sshtools.j2ssh.SshException: Server cannot start because there are no server host keys available

sshtools | iandavies | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Cannot start sshdaemon server

    sshtools | 1 decade ago | iandavies
    com.sshtools.j2ssh.SshException: Server cannot start because there are no server host keys available

    Root Cause Analysis

    1. com.sshtools.j2ssh.SshException

      Server cannot start because there are no server host keys available

      at com.sshtools.j2ssh.SshServer.<init>()
    2. com.sshtools.j2ssh
      SshServer.<init>
      1. com.sshtools.j2ssh.SshServer.<init>(Unknown Source)
      1 frame
    3. com.sshtools.daemon
      SshDaemon.main
      1. com.sshtools.daemon.SshDaemon$1.<init>(Unknown Source)
      2. com.sshtools.daemon.SshDaemon.start(Unknown Source)
      3. com.sshtools.daemon.SshDaemon.main(Unknown Source)
      3 frames
    4. 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
    5. Java Service Wrapper
      WrapperStartStopApp.run
      1. org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:123)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame