|
|
@ -24,7 +24,7 @@ public class SftpWithPrivateKeyReaderTest {
|
|
|
|
public void testXbib() throws Exception {
|
|
|
|
public void testXbib() throws Exception {
|
|
|
|
Map<String, String> env = new HashMap<>();
|
|
|
|
Map<String, String> env = new HashMap<>();
|
|
|
|
env.put("username", "joerg");
|
|
|
|
env.put("username", "joerg");
|
|
|
|
URI uri = URI.create("sftp://xbib.org");
|
|
|
|
URI uri = URI.create("sftp://alkmene");
|
|
|
|
try (SshClient sshClient = ClientBuilder.builder()
|
|
|
|
try (SshClient sshClient = ClientBuilder.builder()
|
|
|
|
.build()) {
|
|
|
|
.build()) {
|
|
|
|
sshClient.setNioWorkers(1);
|
|
|
|
sshClient.setNioWorkers(1);
|
|
|
|