java.lang.Object
de.iip_ecosphere.platform.support.ssh.Ssh
test.de.iip_ecosphere.platform.support.ssh.TestSsh

public class TestSsh extends de.iip_ecosphere.platform.support.ssh.Ssh
Implements an empty Ssh interface for simple testing.
Author:
Holger Eichelberger, SSE
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
    The SSH server with further setup options.

    Nested classes/interfaces inherited from class de.iip_ecosphere.platform.support.ssh.Ssh

    de.iip_ecosphere.platform.support.ssh.Ssh.Authenticator, de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    de.iip_ecosphere.platform.support.ssh.Ssh.SshServer
    createServer(de.iip_ecosphere.platform.support.ServerAddress address)
    Creates an SSH server.

    Methods inherited from class de.iip_ecosphere.platform.support.ssh.Ssh

    getInstance, setInstance

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestSsh

      public TestSsh()
  • Method Details

    • createServer

      public de.iip_ecosphere.platform.support.ssh.Ssh.SshServer createServer(de.iip_ecosphere.platform.support.ServerAddress address) throws IOException
      Creates an SSH server.
      Specified by:
      createServer in class de.iip_ecosphere.platform.support.ssh.Ssh
      Parameters:
      address - the server address
      Returns:
      the server instance
      Throws:
      IOException