public class SshServerEmbedded extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SshServerEmbedded.TestSshFile |
| Modifier and Type | Field and Description |
|---|---|
TestPasswordAuthenticator |
passwordAuthenticator |
TestPublickeyAuthenticator |
publickeyAuthenticator |
| Constructor and Description |
|---|
SshServerEmbedded(String wagonProtocol,
List<String> sshKeysResources,
boolean keyAuthz) |
public TestPublickeyAuthenticator publickeyAuthenticator
public TestPasswordAuthenticator passwordAuthenticator
public SshServerEmbedded(String wagonProtocol, List<String> sshKeysResources, boolean keyAuthz)
wagonProtocol - scp scpexesshKeysResources - paths in the classlaoder with ssh keyspublic int start() throws IOException
IOExceptionpublic void stop() throws InterruptedException
InterruptedExceptionpublic int getPort()
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.