Class TestSsh.TestSshServer

java.lang.Object
test.de.iip_ecosphere.platform.support.ssh.TestSsh.TestSshServer
All Implemented Interfaces:
de.iip_ecosphere.platform.support.Server, de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
Enclosing class:
TestSsh

public class TestSsh.TestSshServer extends Object implements de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
The SSH server with further setup options.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • TestSshServer

      public TestSshServer()
  • Method Details

    • start

      public de.iip_ecosphere.platform.support.ssh.Ssh.SshServer start()
      Specified by:
      start in interface de.iip_ecosphere.platform.support.Server
      Specified by:
      start in interface de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
    • stop

      public void stop(boolean dispose)
      Specified by:
      stop in interface de.iip_ecosphere.platform.support.Server
    • setAuthenticator

      public void setAuthenticator(de.iip_ecosphere.platform.support.ssh.Ssh.Authenticator authenticator)
      Specified by:
      setAuthenticator in interface de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
    • setShellInit

      public void setShellInit(String command, String... args)
      Specified by:
      setShellInit in interface de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
    • setHostKey

      public void setHostKey(File hostKeyFile)
      Specified by:
      setHostKey in interface de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface de.iip_ecosphere.platform.support.ssh.Ssh.SshServer