public class SshClientFactory
extends java.lang.Object
SshClient objects.| Constructor and Description |
|---|
SshClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
static SshClient |
createConnection(java.lang.String hostname,
int port,
java.lang.String username,
java.lang.String password,
org.apache.commons.vfs2.FileSystemOptions fileSystemOptions)
Create a new SSH client.
|
static void |
setSocketFactory(javax.net.SocketFactory socketFactory)
Set the socket factory to use for making connections to remote SSH servers.
|
public static void setSocketFactory(javax.net.SocketFactory socketFactory)
socketFactory - socket factorypublic static SshClient createConnection(java.lang.String hostname, int port, java.lang.String username, java.lang.String password, org.apache.commons.vfs2.FileSystemOptions fileSystemOptions) throws org.apache.commons.vfs2.FileSystemException
hostname - host nameport - portusername - usernamepassword - passwordfileSystemOptions - optionsorg.apache.commons.vfs2.FileSystemExceptionCopyright © 2018. All rights reserved.