Class TestSsh
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 ClassesModifier and TypeClassDescriptionclassThe 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 -
Method Summary
Modifier and TypeMethodDescriptionde.iip_ecosphere.platform.support.ssh.Ssh.SshServercreateServer(de.iip_ecosphere.platform.support.ServerAddress address) Creates an SSH server.Methods inherited from class de.iip_ecosphere.platform.support.ssh.Ssh
getInstance, setInstance
-
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:
createServerin classde.iip_ecosphere.platform.support.ssh.Ssh- Parameters:
address- the server address- Returns:
- the server instance
- Throws:
IOException
-