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 |
---|---|
protected void |
SshClient.setupDefaultSessionIdentities(ClientSession session) |
boolean |
SshKeyScan.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
Modifier and Type | Method and Description |
---|---|
ClientSession |
AbstractUserAuth.getClientSession() |
ClientSession |
AbstractUserAuth.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuth.init(ClientSession session,
String service) |
void |
AbstractUserAuth.init(ClientSession session,
String service) |
protected abstract boolean |
AbstractUserAuth.processAuthDataRequest(ClientSession session,
String service,
Buffer buffer) |
protected abstract boolean |
AbstractUserAuth.sendAuthDataRequest(ClientSession session,
String service) |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthHostBased.init(ClientSession session,
String service) |
protected boolean |
UserAuthHostBased.processAuthDataRequest(ClientSession session,
String service,
Buffer buffer) |
protected boolean |
UserAuthHostBased.sendAuthDataRequest(ClientSession session,
String service) |
Modifier and Type | Method and Description |
---|---|
protected String |
UserAuthKeyboardInteractive.getExchangeLanguageTag(ClientSession session) |
protected String |
UserAuthKeyboardInteractive.getExchangeSubMethods(ClientSession session) |
String |
UserInteraction.getUpdatedPassword(ClientSession session,
String prompt,
String lang)
Invoked when the server returns an
SSH_MSG_USERAUTH_PASSWD_CHANGEREQ
response indicating that the password should be changed - e.g., expired or
not strong enough (as per the server's policy). |
void |
UserAuthKeyboardInteractive.init(ClientSession session,
String service) |
String[] |
UserInteraction.interactive(ClientSession session,
String name,
String instruction,
String lang,
String[] prompt,
boolean[] echo)
Invoked when "keyboard-interactive" authentication mechanism
is used in order to provide responses for the server's challenges
(a.k.a.
|
boolean |
UserInteraction.isInteractionAllowed(ClientSession session) |
protected boolean |
UserAuthKeyboardInteractive.processAuthDataRequest(ClientSession session,
String service,
Buffer buffer) |
protected boolean |
UserAuthKeyboardInteractive.sendAuthDataRequest(ClientSession session,
String service) |
protected boolean |
UserAuthKeyboardInteractive.verifyTrialsCount(ClientSession session,
String service,
int cmd,
int nbTrials,
int maxAllowed) |
void |
UserInteraction.welcome(ClientSession session,
String banner,
String lang)
Displays the welcome banner to the user.
|
Modifier and Type | Method and Description |
---|---|
void |
UserAuthPassword.init(ClientSession session,
String service) |
static Iterator<String> |
PasswordIdentityProvider.Utils.iteratorOf(ClientSession session) |
protected boolean |
UserAuthPassword.processAuthDataRequest(ClientSession session,
String service,
Buffer buffer) |
protected boolean |
UserAuthPassword.sendAuthDataRequest(ClientSession session,
String service) |
protected void |
UserAuthPassword.sendPassword(Buffer buffer,
ClientSession session,
String oldPassword,
String newPassword)
Sends the password via a
SSH_MSG_USERAUTH_REQUEST message. |
Modifier and Type | Method and Description |
---|---|
ClientSession |
AbstractKeyPairIterator.getClientSession() |
ClientSession |
AbstractKeyPairIterator.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
UserAuthPublicKey.init(ClientSession session,
String service) |
protected boolean |
UserAuthPublicKey.processAuthDataRequest(ClientSession session,
String service,
Buffer buffer) |
protected boolean |
UserAuthPublicKey.sendAuthDataRequest(ClientSession session,
String service) |
Constructor and Description |
---|
AbstractKeyPairIterator(ClientSession session) |
SessionKeyPairIterator(ClientSession session,
SignatureFactoriesManager signatureFactories,
Iterator<KeyPair> keys) |
SshAgentPublicKeyIterator(ClientSession session,
SshAgent agent) |
UserAuthPublicKeyIterator(ClientSession session,
SignatureFactoriesManager signatureFactories) |
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 |
---|---|
ClientSession |
AbstractDHClientKeyExchange.getClientSession() |
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 |
ServerKeyVerifier.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey)
Verify that the server key provided is really the one of the host.
|
boolean |
RequiredServerKeyVerifier.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
boolean |
DelegatingServerKeyVerifier.verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
Modifier and Type | Method and Description |
---|---|
ClientSession |
DefaultScpClient.getClientSession() |
ClientSession |
AbstractScpClient.getSession() |
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 |
AbstractClientSession |
class |
ClientSessionImpl
TODO Add javadoc
|
Modifier and Type | Method and Description |
---|---|
ClientSession |
ClientUserAuthService.getClientSession() |
ClientSession |
ClientSessionHolder.getClientSession() |
ClientSession |
ClientConnectionService.getClientSession() |
ClientSession |
ClientUserAuthService.getSession() |
Modifier and Type | Method and Description |
---|---|
protected ClientSession |
AbstractSimpleClientSessionCreator.authSession(ClientSession clientSession) |
protected ClientSession |
AbstractSimpleClientSessionCreator.authSession(ConnectFuture future,
KeyPair identity) |
protected ClientSession |
AbstractSimpleClientSessionCreator.authSession(ConnectFuture future,
String password) |
protected ClientSession |
AbstractSimpleClientSessionCreator.loginSession(ConnectFuture future,
KeyPair identity) |
protected ClientSession |
AbstractSimpleClientSessionCreator.loginSession(ConnectFuture future,
String password) |
ClientSession |
SimpleSessionClient.sessionLogin(InetAddress host,
int port,
String username,
KeyPair identity)
Creates a session and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(InetAddress host,
int port,
String username,
KeyPair identity) |
ClientSession |
SimpleSessionClient.sessionLogin(InetAddress host,
int port,
String username,
String password)
Creates a session and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(InetAddress host,
int port,
String username,
String password) |
ClientSession |
SimpleSessionClient.sessionLogin(InetAddress host,
String username,
KeyPair identity)
Creates a session on the default port and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(InetAddress host,
String username,
KeyPair identity) |
ClientSession |
SimpleSessionClient.sessionLogin(InetAddress host,
String username,
String password)
Creates a session on the default port and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(InetAddress host,
String username,
String password) |
ClientSession |
SimpleSessionClient.sessionLogin(SocketAddress target,
String username,
KeyPair identity)
Creates a session and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClientSessionCreator.sessionLogin(SocketAddress target,
String username,
KeyPair identity) |
ClientSession |
SimpleSessionClient.sessionLogin(SocketAddress target,
String username,
String password)
Creates a session and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClientSessionCreator.sessionLogin(SocketAddress target,
String username,
String password) |
ClientSession |
SimpleSessionClient.sessionLogin(String host,
int port,
String username,
KeyPair identity)
Creates a session and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(String host,
int port,
String username,
KeyPair identity) |
ClientSession |
SimpleSessionClient.sessionLogin(String host,
int port,
String username,
String password)
Creates a session and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(String host,
int port,
String username,
String password) |
ClientSession |
SimpleSessionClient.sessionLogin(String host,
String username,
KeyPair identity)
Creates a session on the default port and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(String host,
String username,
KeyPair identity) |
ClientSession |
SimpleSessionClient.sessionLogin(String host,
String username,
String password)
Creates a session on the default port and logs in using the provided credentials
|
ClientSession |
AbstractSimpleClient.sessionLogin(String host,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
protected ClientSession |
AbstractSimpleClientSessionCreator.authSession(ClientSession clientSession) |
protected CloseableScpClient |
AbstractSimpleClient.createScpClient(ClientSession session) |
protected SftpClient |
AbstractSimpleClient.createSftpClient(ClientSession session) |
protected SftpClient |
AbstractSimpleClient.createSftpClient(ClientSession session,
SftpClient client) |
Modifier and Type | Method and Description |
---|---|
ClientSession |
AbstractSubsystemClient.getSession() |
Modifier and Type | Method and Description |
---|---|
ClientSession |
SftpFileSystem.getClientSession() |
ClientSession |
DefaultSftpClient.getClientSession() |
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) |
Modifier and Type | Method and Description |
---|---|
static Iterator<KeyPair> |
KeyIdentityProvider.Utils.iteratorOf(ClientSession session) |
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.