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
IOException
public void stop() throws InterruptedException
InterruptedException
public int getPort()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.