@UriParams public class ScpConfiguration extends RemoteFileConfiguration
RemoteFileConfiguration.PathSeparator
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MOD |
static int |
DEFAULT_SFTP_PORT |
directory
Constructor and Description |
---|
ScpConfiguration() |
ScpConfiguration(URI uri) |
Modifier and Type | Method and Description |
---|---|
String |
getChmod() |
String |
getCiphers() |
String |
getKnownHostsFile() |
String |
getPrivateKeyFile() |
String |
getPrivateKeyFilePassphrase() |
String |
getStrictHostKeyChecking() |
boolean |
isUseUserKnownHostsFile() |
void |
setChmod(String chmod)
Allows you to set chmod on the stored file.
|
void |
setCiphers(String ciphers)
Set a comma separated list of ciphers that will be used in order of preference.
|
protected void |
setDefaultPort() |
void |
setKnownHostsFile(String knownHostsFile)
Sets the known_hosts file, so that the jsch endpoint can do host key verification.
|
void |
setPrivateKeyFile(String privateKeyFile)
Set the private key file to that the SFTP endpoint can do private key verification.
|
void |
setPrivateKeyFilePassphrase(String privateKeyFilePassphrase)
Set the private key file passphrase to that the SFTP endpoint can do private key verification.
|
void |
setStrictHostKeyChecking(String strictHostKeyChecking)
Sets whether to use strict host key checking.
|
void |
setUseUserKnownHostsFile(boolean useUserKnownHostsFile)
If knownHostFile has not been explicit configured, then use the host file from System.getProperty("user.home") + "/.ssh/known_hosts"
|
configure, getConnectTimeout, getDirectoryName, getHost, getPassword, getPort, getProtocol, getReceiveBufferSize, getSeparator, getSiteCommand, getSoTimeout, getTimeout, getUsername, isBinary, isIgnoreFileNotFoundOrPermissionError, isPassiveMode, isSendNoop, isStepwise, isStreamDownload, isThrowExceptionOnConnectFailed, isUseList, needToNormalize, normalizePath, remoteServerInformation, setBinary, setConnectTimeout, setDirectoryName, setHost, setIgnoreFileNotFoundOrPermissionError, setPassiveMode, setPassword, setPort, setProtocol, setReceiveBufferSize, setSendNoop, setSeparator, setSiteCommand, setSoTimeout, setStepwise, setStreamDownload, setThrowExceptionOnConnectFailed, setTimeout, setUseList, setUsername
getDirectory, setDirectory, toString
public static final int DEFAULT_SFTP_PORT
public static final String DEFAULT_MOD
public ScpConfiguration()
public ScpConfiguration(URI uri)
protected void setDefaultPort()
setDefaultPort
in class RemoteFileConfiguration
public String getKnownHostsFile()
public void setKnownHostsFile(String knownHostsFile)
public boolean isUseUserKnownHostsFile()
public void setUseUserKnownHostsFile(boolean useUserKnownHostsFile)
public String getPrivateKeyFile()
public void setPrivateKeyFile(String privateKeyFile)
public String getPrivateKeyFilePassphrase()
public void setPrivateKeyFilePassphrase(String privateKeyFilePassphrase)
public String getStrictHostKeyChecking()
public void setStrictHostKeyChecking(String strictHostKeyChecking)
public void setChmod(String chmod)
public String getChmod()
public void setCiphers(String ciphers)
public String getCiphers()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.