| Modifier and Type | Method and Description |
|---|---|
static ClientSession |
SshClient.setupClientSession(String portOption,
BufferedReader stdin,
PrintStream stdout,
PrintStream stderr,
String... args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SshKeyScan.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
boolean |
ServerKeyVerifier.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey)
Verify that the server key provided is really the one of the host.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UserAuthPublicKey.init(ClientSession session,
String service,
Collection<?> identities) |
void |
UserAuthPassword.init(ClientSession session,
String service,
Collection<?> identities) |
void |
UserAuthKeyboardInteractive.init(ClientSession session,
String service,
Collection<?> identities) |
void |
UserAuth.init(ClientSession session,
String service,
Collection<?> identities) |
| Modifier and Type | Method and Description |
|---|---|
ClientSession |
DefaultConnectFuture.getSession() |
ClientSession |
ConnectFuture.getSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultConnectFuture.setSession(ClientSession session) |
void |
ConnectFuture.setSession(ClientSession session)
Sets the newly connected session and notifies all threads waiting for
this future.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StaticServerKeyVerifier.handleAcceptance(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
protected void |
StaticServerKeyVerifier.handleRejection(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
boolean |
StaticServerKeyVerifier.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
boolean |
RequiredServerKeyVerifier.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
boolean |
DelegatingServerKeyVerifier.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
| Modifier and Type | Method and Description |
|---|---|
protected ChannelExec |
AbstractScpClient.openCommandChannel(ClientSession session,
String cmd) |
| Constructor and Description |
|---|
DefaultScpClient(ClientSession clientSession) |
DefaultScpClient(ClientSession clientSession,
ScpTransferEventListener eventListener) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientSessionImpl
TODO Add javadoc
|
| Modifier and Type | Method and Description |
|---|---|
ClientSession |
SubsystemClient.getClientSession() |
| Modifier and Type | Method and Description |
|---|---|
ClientSession |
DefaultSftpClient.getClientSession() |
ClientSession |
SftpFileSystem.getSession() |
| Modifier and Type | Method and Description |
|---|---|
static String |
SftpFileSystemProvider.getFileSystemIdentifier(ClientSession session)
Uses the remote host address, port and current username to create a unique identifier
|
SftpFileSystem |
SftpFileSystemProvider.newFileSystem(ClientSession session) |
| Constructor and Description |
|---|
DefaultSftpClient(ClientSession clientSession) |
SftpFileSystem(SftpFileSystemProvider provider,
String id,
ClientSession session,
SftpVersionSelector selector) |
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.