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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAuthenticator(de.iip_ecosphere.platform.support.ssh.Ssh.Authenticator authenticator) voidsetHostKey(File hostKeyFile) voidsetShellInit(String command, String... args) de.iip_ecosphere.platform.support.ssh.Ssh.SshServerstart()voidstop(boolean dispose)
-
Constructor Details
-
TestSshServer
public TestSshServer()
-
-
Method Details
-
start
public de.iip_ecosphere.platform.support.ssh.Ssh.SshServer start()- Specified by:
startin interfacede.iip_ecosphere.platform.support.Server- Specified by:
startin interfacede.iip_ecosphere.platform.support.ssh.Ssh.SshServer
-
stop
public void stop(boolean dispose) - Specified by:
stopin interfacede.iip_ecosphere.platform.support.Server
-
setAuthenticator
public void setAuthenticator(de.iip_ecosphere.platform.support.ssh.Ssh.Authenticator authenticator) - Specified by:
setAuthenticatorin interfacede.iip_ecosphere.platform.support.ssh.Ssh.SshServer
-
setShellInit
- Specified by:
setShellInitin interfacede.iip_ecosphere.platform.support.ssh.Ssh.SshServer
-
setHostKey
- Specified by:
setHostKeyin interfacede.iip_ecosphere.platform.support.ssh.Ssh.SshServer
-
isStarted
public boolean isStarted()- Specified by:
isStartedin interfacede.iip_ecosphere.platform.support.ssh.Ssh.SshServer
-