| Package | Description |
|---|---|
| co.cask.cdap.runtime.spi.ssh |
| Modifier and Type | Method and Description |
|---|---|
default SSHSession |
SSHContext.createSSHSession(SSHKeyPair keyPair,
String host)
Creates a
SSHSession to the given host. |
default SSHSession |
SSHContext.createSSHSession(String host)
Creates a
SSHSession to the given host. |
SSHSession |
SSHContext.createSSHSession(String user,
java.util.function.Supplier<byte[]> privateKeySupplier,
String host,
int port,
Map<String,String> configs)
Creates a
SSHSession to the given host, on a specific port, and with extra sets of ssh configurations. |
Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.