Uses of Interface
org.apache.sshd.client.session.ClientSession
Packages that use ClientSession
Package
Description
-
Uses of ClientSession in org.apache.sshd.client
Subinterfaces with type arguments of type ClientSession in org.apache.sshd.clientModifier and TypeInterfaceDescriptioninterfaceHolds information required for the client to perform authentication with the serverMethods in org.apache.sshd.client with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected voidSshClient.configure(ClientSession session) protected voidSshClient.setSessionKeyIdentities(ClientSession session) protected voidSshClient.setupDefaultSessionIdentities(ClientSession session, org.apache.sshd.common.keyprovider.KeyIdentityProvider extraIdentities) -
Uses of ClientSession in org.apache.sshd.client.auth
Subclasses with type arguments of type ClientSession in org.apache.sshd.client.authSubinterfaces with type arguments of type ClientSession in org.apache.sshd.client.authModifier and TypeInterfaceDescriptioninterfaceRepresents a user authentication mechanisminterfaceMethods in org.apache.sshd.client.auth that return ClientSessionModifier and TypeMethodDescriptionAbstractUserAuth.getClientSession()AbstractUserAuth.getSession()Methods in org.apache.sshd.client.auth with parameters of type ClientSessionModifier and TypeMethodDescriptionvoidAbstractUserAuth.init(ClientSession session, String service) voidUserAuth.init(ClientSession session, String service) protected abstract booleanAbstractUserAuth.processAuthDataRequest(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) protected abstract booleanAbstractUserAuth.sendAuthDataRequest(ClientSession session, String service) default voidUserAuth.signalAuthMethodFailure(ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer) Signals reception ofSSH_MSG_USERAUTH_FAILUREmessagedefault voidUserAuth.signalAuthMethodSuccess(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) Signal reception ofSSH_MSG_USERAUTH_SUCCESSmessage -
Uses of ClientSession in org.apache.sshd.client.auth.hostbased
Methods in org.apache.sshd.client.auth.hostbased with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected byte[]UserAuthHostBased.appendSignature(ClientSession session, String service, String keyType, PublicKey key, byte[] keyBytes, String clientHostname, String clientUsername, org.apache.sshd.common.signature.Signature verifier, org.apache.sshd.common.util.buffer.Buffer buffer) UserAuthHostBasedFactory.createUserAuth(ClientSession session) voidUserAuthHostBased.init(ClientSession session, String service) protected booleanUserAuthHostBased.processAuthDataRequest(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) protected StringUserAuthHostBased.resolveClientHostname(ClientSession session) protected StringUserAuthHostBased.resolveClientUsername(ClientSession session) protected booleanUserAuthHostBased.sendAuthDataRequest(ClientSession session, String service) default voidHostBasedAuthenticationReporter.signalAuthenticationAttempt(ClientSession session, String service, KeyPair identity, String hostname, String username, byte[] signature) Sending the initial request to use host based authenticationdefault voidHostBasedAuthenticationReporter.signalAuthenticationExhausted(ClientSession session, String service, String hostname, String username) Signals end of host based attempts and optionally switching to other authentication methods.default voidHostBasedAuthenticationReporter.signalAuthenticationFailure(ClientSession session, String service, KeyPair identity, String hostname, String username, boolean partial, List<String> serverMethods) default voidHostBasedAuthenticationReporter.signalAuthenticationSuccess(ClientSession session, String service, KeyPair identity, String hostname, String username) voidUserAuthHostBased.signalAuthMethodFailure(ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer) voidUserAuthHostBased.signalAuthMethodSuccess(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) -
Uses of ClientSession in org.apache.sshd.client.auth.keyboard
Methods in org.apache.sshd.client.auth.keyboard with parameters of type ClientSessionModifier and TypeMethodDescriptionUserAuthKeyboardInteractiveFactory.createUserAuth(ClientSession session) protected StringUserAuthKeyboardInteractive.getExchangeLanguageTag(ClientSession session) protected StringUserAuthKeyboardInteractive.getExchangeSubMethods(ClientSession session) default PasswordAuthenticationUserInteraction.getProxyCredentials(ClientSession session, InetSocketAddress proxy) Invoked for proxy authentication using username-password authentication if no credentials are known.UserInteraction.getUpdatedPassword(ClientSession session, String prompt, String lang) Invoked when the server returns anSSH_MSG_USERAUTH_PASSWD_CHANGEREQresponse indicating that the password should be changed - e.g., expired or not strong enough (as per the server's policy).voidUserAuthKeyboardInteractive.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. prompts)default booleanUserInteraction.isInteractionAllowed(ClientSession session) protected booleanUserAuthKeyboardInteractive.processAuthDataRequest(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) default StringUserInteraction.resolveAuthPasswordAttempt(ClientSession session) Invoked during password authentication when no more pre-registered passwords are available.default KeyPairUserInteraction.resolveAuthPublicKeyIdentityAttempt(ClientSession session) Invoked during public key authentication when no more pre-registered keys are availableprotected booleanUserAuthKeyboardInteractive.sendAuthDataRequest(ClientSession session, String service) default voidUserInteraction.serverVersionInfo(ClientSession session, List<String> lines) Called if the server sent any extra information beyond the standard version lineprotected booleanUserAuthKeyboardInteractive.useCurrentPassword(ClientSession session, String password, String name, String instruction, String lang, String[] prompt, boolean[] echo) Checks if we have a candidate password and exactly one prompt is requested with no echo, and the prompt matches a configurable pattern.protected booleanUserAuthKeyboardInteractive.verifyTrialsCount(ClientSession session, String service, int cmd, int nbTrials, int maxAllowed) default voidUserInteraction.welcome(ClientSession session, String banner, String lang) Displays the welcome banner to the user. -
Uses of ClientSession in org.apache.sshd.client.auth.password
Methods in org.apache.sshd.client.auth.password with parameters of type ClientSessionModifier and TypeMethodDescriptionUserAuthPasswordFactory.createUserAuth(ClientSession session) voidUserAuthPassword.init(ClientSession session, String service) protected booleanUserAuthPassword.processAuthDataRequest(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) protected StringUserAuthPassword.resolveAttemptedPassword(ClientSession session, String service) protected booleanUserAuthPassword.sendAuthDataRequest(ClientSession session, String service) protected org.apache.sshd.common.io.IoWriteFutureUserAuthPassword.sendPassword(org.apache.sshd.common.util.buffer.Buffer buffer, ClientSession session, String oldPassword, String newPassword) Sends the password via aSSH_MSG_USERAUTH_REQUESTmessage.default voidPasswordAuthenticationReporter.signalAuthenticationAttempt(ClientSession session, String service, String oldPassword, boolean modified, String newPassword) default voidPasswordAuthenticationReporter.signalAuthenticationExhausted(ClientSession session, String service) Signals end of passwords attempts and optionally switching to other authentication methods.default voidPasswordAuthenticationReporter.signalAuthenticationFailure(ClientSession session, String service, String password, boolean partial, List<String> serverMethods) default voidPasswordAuthenticationReporter.signalAuthenticationSuccess(ClientSession session, String service, String password) voidUserAuthPassword.signalAuthMethodFailure(ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer) voidUserAuthPassword.signalAuthMethodSuccess(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) -
Uses of ClientSession in org.apache.sshd.client.auth.pubkey
Classes in org.apache.sshd.client.auth.pubkey that implement interfaces with type arguments of type ClientSessionModifier and TypeClassDescriptionclassAbstractKeyPairIterator<I extends org.apache.sshd.client.auth.pubkey.PublicKeyIdentity>Methods in org.apache.sshd.client.auth.pubkey that return ClientSessionModifier and TypeMethodDescriptionfinal ClientSessionAbstractKeyPairIterator.getClientSession()final ClientSessionAbstractKeyPairIterator.getSession()Methods in org.apache.sshd.client.auth.pubkey with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected byte[]UserAuthPublicKey.appendSignature(ClientSession session, String service, String name, String username, String algo, PublicKey key, PublicKey serverKey, org.apache.sshd.common.util.buffer.Buffer buffer) protected Iterator<org.apache.sshd.client.auth.pubkey.PublicKeyIdentity> UserAuthPublicKey.createPublicKeyIterator(ClientSession session, org.apache.sshd.common.signature.SignatureFactoriesManager manager) UserAuthPublicKeyFactory.createUserAuth(ClientSession session) protected StringUserAuthPublicKey.getDefaultSignatureAlgorithm(ClientSession session, String service, org.apache.sshd.client.auth.pubkey.PublicKeyIdentity identity, KeyPair keyPair, String keyType) Determines a signature algorithm name to use for the authentication request if none could be determined from the installed signature factories.voidUserAuthPublicKey.init(ClientSession session, String service) protected Iterable<KeyAgentIdentity> UserAuthPublicKeyIterator.initializeAgentIdentities(ClientSession session) protected Iterable<KeyPairIdentity> UserAuthPublicKeyIterator.initializeSessionIdentities(ClientSession session, org.apache.sshd.common.signature.SignatureFactoriesManager signatureFactories) protected booleanUserAuthPublicKey.processAuthDataRequest(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) protected org.apache.sshd.client.auth.pubkey.PublicKeyIdentityUserAuthPublicKey.resolveAttemptedPublicKeyIdentity(ClientSession session, String service) protected org.apache.sshd.client.auth.pubkey.PublicKeyIdentityUserAuthPublicKey.resolveAttemptedPublicKeyIdentity(ClientSession session, String service, PublicKeyAuthenticationReporter reporter) protected booleanUserAuthPublicKey.sendAuthDataRequest(ClientSession session, String service) default voidPublicKeyAuthenticationReporter.signalAuthenticationAttempt(ClientSession session, String service, KeyPair identity, String signature) Sending the initial request to use public key authenticationdefault voidPublicKeyAuthenticationReporter.signalAuthenticationExhausted(ClientSession session, String service) Signals end of public key attempts and optionally switching to other authentication methods.default voidPublicKeyAuthenticationReporter.signalAuthenticationFailure(ClientSession session, String service, KeyPair identity, boolean partial, List<String> serverMethods) default voidPublicKeyAuthenticationReporter.signalAuthenticationSuccess(ClientSession session, String service, KeyPair identity) voidUserAuthPublicKey.signalAuthMethodFailure(ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer) voidUserAuthPublicKey.signalAuthMethodSuccess(ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) default voidPublicKeyAuthenticationReporter.signalIdentitySkipped(ClientSession session, String service, KeyPair identity) AKeyPairis is present, but is not attempted because no signature factory for it could be found.default voidPublicKeyAuthenticationReporter.signalSignatureAttempt(ClientSession session, String service, KeyPair identity, String signature, byte[] signed) Sending the signed response to the server's challengeConstructors in org.apache.sshd.client.auth.pubkey with parameters of type ClientSessionModifierConstructorDescriptionprotectedAbstractKeyPairIterator(ClientSession session) SessionKeyPairIterator(ClientSession session, org.apache.sshd.common.signature.SignatureFactoriesManager signatureFactories, Iterator<KeyPair> keys) SshAgentPublicKeyIterator(ClientSession session, SshAgent agent) UserAuthPublicKeyIterator(ClientSession session, org.apache.sshd.common.signature.SignatureFactoriesManager signatureFactories) -
Uses of ClientSession in org.apache.sshd.client.channel
Methods in org.apache.sshd.client.channel that return ClientSession -
Uses of ClientSession in org.apache.sshd.client.config
Methods in org.apache.sshd.client.config with parameters of type ClientSessionModifier and TypeMethodDescriptionvoidDefaultNewHostKeysHandler.receiveNewHostKeys(ClientSession session, Collection<PublicKey> hostKeys) voidNewHostKeysHandler.receiveNewHostKeys(ClientSession session, Collection<PublicKey> hostKeys) Invoked when new keys have been received and verified. -
Uses of ClientSession in org.apache.sshd.client.future
Subinterfaces with type arguments of type ClientSession in org.apache.sshd.client.futureModifier and TypeInterfaceDescriptioninterfaceAnSshFuturefor asynchronous connections requests.Methods in org.apache.sshd.client.future that return ClientSessionModifier and TypeMethodDescriptiondefault ClientSessionConnectFuture.getClientSession()DefaultConnectFuture.getSession()Methods in org.apache.sshd.client.future with parameters of type ClientSessionModifier and TypeMethodDescriptionvoidConnectFuture.setSession(ClientSession session) Sets the newly connected session and notifies all threads waiting for this future.voidDefaultConnectFuture.setSession(ClientSession session) -
Uses of ClientSession in org.apache.sshd.client.global
Methods in org.apache.sshd.client.global with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected voidOpenSshHostKeysHandler.handleHostKeyRotation(ClientSession client, List<PublicKey> proposedKeys, org.apache.sshd.common.util.buffer.Buffer reply) -
Uses of ClientSession in org.apache.sshd.client.keyverifier
Methods in org.apache.sshd.client.keyverifier with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected booleanKnownHostsServerKeyVerifier.acceptIncompleteHostKeys(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Throwable reason) Called if failed to reload known hosts - by default invokesKnownHostsServerKeyVerifier.acceptUnknownHostKey(ClientSession, SocketAddress, PublicKey)protected booleanKnownHostsServerKeyVerifier.acceptKnownHostEntries(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts) booleanKnownHostsServerKeyVerifier.acceptModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, org.apache.sshd.client.config.hosts.KnownHostEntry entry, PublicKey expected, PublicKey actual) booleanModifiedServerKeyAcceptor.acceptModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, org.apache.sshd.client.config.hosts.KnownHostEntry entry, PublicKey expected, PublicKey actual) Invoked when a matching known host key was found but it does not match the presented one.protected booleanKnownHostsServerKeyVerifier.acceptUnknownHostKey(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey) Invoked if none of the known hosts matches the current one - by default invokes the delegate.protected List<KnownHostsServerKeyVerifier.HostEntryPair> KnownHostsServerKeyVerifier.findKnownHostEntries(ClientSession clientSession, SocketAddress remoteAddress, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts) protected org.apache.sshd.common.NamedFactory<org.apache.sshd.common.mac.Mac> KnownHostsServerKeyVerifier.getHostValueDigester(ClientSession clientSession, SocketAddress remoteAddress, org.apache.sshd.common.util.net.SshdSocketAddress hostIdentity) Invoked byKnownHostsServerKeyVerifier.prepareKnownHostEntry(ClientSession, SocketAddress, PublicKey)in order to query whether to use a hashed value instead of a plain one for the written host name/address - default returnsnull- i.e., no hashingKnownHostsServerKeyVerifier.getKnownHostSupplier(ClientSession clientSession, Path file) protected voidStaticServerKeyVerifier.handleAcceptance(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) protected voidKnownHostsServerKeyVerifier.handleKnownHostsFileUpdateFailure(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, Throwable reason) Invoked whenKnownHostsServerKeyVerifier.updateKnownHostsFile(ClientSession, SocketAddress, PublicKey, Path, Collection)fails - by default just issues a warning.protected voidKnownHostsServerKeyVerifier.handleModifiedServerKeyUpdateFailure(ClientSession clientSession, SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, PublicKey serverKey, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, Throwable reason) Invoked if#updateModifiedServerKey(ClientSession, SocketAddress, HostEntryPair, PublicKey, Path)throws an exception.protected voidStaticServerKeyVerifier.handleRejection(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) protected voidKnownHostsServerKeyVerifier.handleRevokedKey(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey) Invoked if any matching host entry has a 'revoked' markerprotected org.apache.sshd.client.config.hosts.KnownHostEntryKnownHostsServerKeyVerifier.prepareKnownHostEntry(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey) Invoked byKnownHostsServerKeyVerifier.updateKnownHostsFile(ClientSession, SocketAddress, PublicKey, Path, Collection)in order to generate the host entry to be writtenprotected StringKnownHostsServerKeyVerifier.prepareModifiedServerKeyLine(ClientSession clientSession, SocketAddress remoteAddress, org.apache.sshd.client.config.hosts.KnownHostEntry entry, String curLine, PublicKey expected, PublicKey actual) Invoked byKnownHostsServerKeyVerifier.updateModifiedServerKey(ClientSession, SocketAddress, HostEntryPair, PublicKey, Path, Collection)in order to prepare the replacement - by default it replaces the key part with the new oneprotected List<KnownHostsServerKeyVerifier.HostEntryPair> DefaultKnownHostsServerKeyVerifier.reloadKnownHosts(ClientSession session, Path file) protected List<KnownHostsServerKeyVerifier.HostEntryPair> KnownHostsServerKeyVerifier.reloadKnownHosts(ClientSession session, Path file) protected PublicKeyKnownHostsServerKeyVerifier.resolveHostKey(ClientSession session, org.apache.sshd.client.config.hosts.KnownHostEntry entry, org.apache.sshd.common.config.keys.PublicKeyEntryResolver resolver) Recover the associated public key from a known host entryprotected Collection<org.apache.sshd.common.util.net.SshdSocketAddress> KnownHostsServerKeyVerifier.resolveHostNetworkIdentities(ClientSession clientSession, SocketAddress remoteAddress) Retrieves the host identities to be used when matching or updating an entry for it - by default returns the reported remote address and the original connection target host name/address (if same, then only one value is returned)protected org.apache.sshd.client.config.hosts.KnownHostEntryKnownHostsServerKeyVerifier.updateKnownHostsFile(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts) Invoked if a new previously unknown host key has been accepted - by default appends a new entry at the end of the currently monitored known hosts fileprotected voidKnownHostsServerKeyVerifier.updateModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts, KnownHostsServerKeyVerifier.HostEntryPair match) protected voidKnownHostsServerKeyVerifier.updateModifiedServerKey(ClientSession clientSession, SocketAddress remoteAddress, KnownHostsServerKeyVerifier.HostEntryPair match, PublicKey actual, Path file, Collection<KnownHostsServerKeyVerifier.HostEntryPair> knownHosts) Invoked if a matching host entry was found, but the key did not match andKnownHostsServerKeyVerifier.acceptModifiedServerKey(ClientSession, SocketAddress, KnownHostEntry, PublicKey, PublicKey)returnedtrue.booleanDelegatingServerKeyVerifier.verifyServerKey(ClientSession session, SocketAddress remoteAddress, PublicKey serverKey) booleanKnownHostsServerKeyVerifier.verifyServerKey(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey) booleanRequiredServerKeyVerifier.verifyServerKey(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) booleanServerKeyVerifier.verifyServerKey(ClientSession clientSession, SocketAddress remoteAddress, PublicKey serverKey) Verify that the server key provided is really the one of the host.final booleanStaticServerKeyVerifier.verifyServerKey(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey) -
Uses of ClientSession in org.apache.sshd.client.session
Classes in org.apache.sshd.client.session that implement ClientSessionModifier and TypeClassDescriptionclassProvides default implementations ofClientSessionrelated methodsclassThe default implementation of aClientSessionMethods in org.apache.sshd.client.session that return ClientSessionModifier and TypeMethodDescriptionfinal ClientSessionClientConnectionService.getClientSession()ClientSessionHolder.getClientSession()ClientUserAuthService.getClientSession()ClientUserAuthService.getSession()Methods in org.apache.sshd.client.session with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected AuthFutureClientUserAuthService.createAuthFuture(ClientSession session, String service) ClientSession.passwordIteratorOf(ClientSession session) Creates a "unified"Iteratorof passwords out of the registered passwords and the extra available ones as a single iterator of passwordsstatic org.apache.sshd.common.keyprovider.KeyIdentityProviderClientSession.providerOf(ClientSession session) Creates a "unified"KeyIdentityProviderof key pairs out of the registeredKeyPairidentities and the extra available ones as a single iterator of key pairsprotected org.apache.sshd.common.io.IoWriteFutureClientUserAuthService.sendInitialAuthRequest(ClientSession session, String service) protected AuthFutureClientUserAuthService.updateCurrentAuthFuture(ClientSession session, String service) -
Uses of ClientSession in org.apache.sshd.client.session.forward
Classes in org.apache.sshd.client.session.forward that implement interfaces with type arguments of type ClientSessionMethods in org.apache.sshd.client.session.forward that return ClientSessionModifier and TypeMethodDescriptionPortForwardingTracker.getClientSession()PortForwardingTracker.getSession()Constructors in org.apache.sshd.client.session.forward with parameters of type ClientSessionModifierConstructorDescriptionDynamicPortForwardingTracker(ClientSession session, org.apache.sshd.common.util.net.SshdSocketAddress localAddress, org.apache.sshd.common.util.net.SshdSocketAddress boundAddress) ExplicitPortForwardingTracker(ClientSession session, boolean localForwarding, org.apache.sshd.common.util.net.SshdSocketAddress localAddress, org.apache.sshd.common.util.net.SshdSocketAddress remoteAddress, org.apache.sshd.common.util.net.SshdSocketAddress boundAddress) protectedPortForwardingTracker(ClientSession session, org.apache.sshd.common.util.net.SshdSocketAddress localAddress, org.apache.sshd.common.util.net.SshdSocketAddress boundAddress) -
Uses of ClientSession in org.apache.sshd.client.simple
Methods in org.apache.sshd.client.simple that return ClientSessionModifier and TypeMethodDescriptionprotected ClientSessionAbstractSimpleClientSessionCreator.authSession(ConnectFuture future, String password) protected ClientSessionAbstractSimpleClientSessionCreator.authSession(ConnectFuture future, KeyPair identity) protected ClientSessionAbstractSimpleClientSessionCreator.authSession(ClientSession clientSession) protected ClientSessionAbstractSimpleClientSessionCreator.loginSession(ConnectFuture future, String password) protected ClientSessionAbstractSimpleClientSessionCreator.loginSession(ConnectFuture future, KeyPair identity) AbstractSimpleClientSessionCreator.sessionLogin(String uri, String password) AbstractSimpleClientSessionCreator.sessionLogin(String uri, KeyPair identity) AbstractSimpleClientSessionCreator.sessionLogin(SocketAddress target, String username, String password) AbstractSimpleClientSessionCreator.sessionLogin(SocketAddress target, String username, KeyPair identity) default ClientSessionSimpleSessionClient.sessionLogin(String host, int port, String username, String password) Creates a session and logs in using the provided credentialsdefault ClientSessionSimpleSessionClient.sessionLogin(String host, int port, String username, KeyPair identity) Creates a session and logs in using the provided credentialsSimpleSessionClient.sessionLogin(String uri, String password) Creates a session and logs in using the provided credentialsdefault ClientSessionSimpleSessionClient.sessionLogin(String host, String username, String password) Creates a session on the default port and logs in using the provided credentialsdefault ClientSessionSimpleSessionClient.sessionLogin(String host, String username, KeyPair identity) Creates a session on the default port and logs in using the provided credentialsSimpleSessionClient.sessionLogin(String uri, KeyPair identity) Creates a session and logs in using the provided credentialsdefault ClientSessionSimpleSessionClient.sessionLogin(InetAddress host, int port, String username, String password) Creates a session and logs in using the provided credentialsdefault ClientSessionSimpleSessionClient.sessionLogin(InetAddress host, int port, String username, KeyPair identity) Creates a session and logs in using the provided credentialsdefault ClientSessionSimpleSessionClient.sessionLogin(InetAddress host, String username, String password) Creates a session on the default port and logs in using the provided credentialsdefault ClientSessionSimpleSessionClient.sessionLogin(InetAddress host, String username, KeyPair identity) Creates a session on the default port and logs in using the provided credentialsSimpleSessionClient.sessionLogin(SocketAddress target, String username, String password) Creates a session and logs in using the provided credentialsSimpleSessionClient.sessionLogin(SocketAddress target, String username, KeyPair identity) Creates a session and logs in using the provided credentialsMethods in org.apache.sshd.client.simple with parameters of type ClientSessionModifier and TypeMethodDescriptionprotected ClientSessionAbstractSimpleClientSessionCreator.authSession(ClientSession clientSession) -
Uses of ClientSession in org.apache.sshd.client.subsystem
Subinterfaces with type arguments of type ClientSession in org.apache.sshd.client.subsystemMethods in org.apache.sshd.client.subsystem that return ClientSession