public class SftpConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DFLT_STRICT_HOST_KEY_CHECKING
Default value for
isStrictHostKeyChecking(). |
| Constructor and Description |
|---|
SftpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKeyPath() |
String |
getKnownHostsPath() |
String |
getPassphrase() |
boolean |
isStrictHostKeyChecking() |
SftpConfiguration |
setKeyPath(String keyPath)
Sets path to JKS key in builder style.
|
SftpConfiguration |
setKnownHostsPath(String knownHostsPath)
Sets the path to the OpenSSH-format known hosts file in builder style.
|
SftpConfiguration |
setPassphrase(String passphrase)
Sets passphrase for JKS key in builder style.
|
SftpConfiguration |
setStrictHostKeyChecking(boolean strictHostKeyChecking)
Sets whether the server host key must match an entry in the known hosts file, in builder style.
|
public static final boolean DFLT_STRICT_HOST_KEY_CHECKING
isStrictHostKeyChecking().public SftpConfiguration setKeyPath(String keyPath)
public String getKeyPath()
public SftpConfiguration setPassphrase(String passphrase)
public String getPassphrase()
public SftpConfiguration setStrictHostKeyChecking(boolean strictHostKeyChecking)
setKnownHostsPath(String)public boolean isStrictHostKeyChecking()
DFLT_STRICT_HOST_KEY_CHECKING by default.public SftpConfiguration setKnownHostsPath(String knownHostsPath)
~/.ssh/known_hosts of
the account running the node is used. Ignored unless setStrictHostKeyChecking(boolean) is enabled.public String getKnownHostsPath()
null to use ~/.ssh/known_hosts.
GridGain In-Memory Computing Platform : ver. 8.9.37 Release Date : August 25 2026