Uses of Class
com.sshtools.client.SshClientContext
Packages that use SshClientContext
Package
Description
-
Uses of SshClientContext in com.sshtools.client
Classes in com.sshtools.client with type parameters of type SshClientContextFields in com.sshtools.client with type parameters of type SshClientContextModifier and TypeFieldDescriptionprotected com.sshtools.synergy.ssh.SshTransport<SshClientContext>
SshKeyExchangeClient.transport
The transport protocol for sending/receiving messagesMethods in com.sshtools.client that return SshClientContextModifier and TypeMethodDescriptionSshClientContext.addAuthenticator
(ClientAuthenticator auth) SshClientContext.addGlobalRequestHandler
(com.sshtools.synergy.ssh.GlobalRequestHandler<SshClientContext> handler) SshClientContext.addStateListener
(ClientStateListener stateListener) ConnectionProtocolClient.getContext()
SshClient.getContext()
SshClientContext.setBannerDisplay
(BannerDisplay bannerDisplay) SshClientContext.setConnectionManager
(com.sshtools.synergy.ssh.ConnectionManager<SshClientContext> connectionManager) SshClientContext.setForwardingManager
(com.sshtools.synergy.ssh.ForwardingManager<SshClientContext> forwardingManager) SshClientContext.setHostKeyVerification
(com.sshtools.common.knownhosts.HostKeyVerification hkv) SshClientContext.setSubsystemCacheSize
(int subsystemCacheSize) SshClientContext.setUsername
(String username) Set the username for this connection.Methods in com.sshtools.client that return types with arguments of type SshClientContextModifier and TypeMethodDescriptionprotected com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
ConnectionProtocolClient.createChannel
(String channeltype, com.sshtools.synergy.ssh.Connection<SshClientContext> con) Create an SSH channel.final com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
DefaultClientChannelFactory.createChannel
(String channeltype, com.sshtools.common.ssh.SshConnection con) Called when a channel needs to be created.protected com.sshtools.synergy.ssh.ForwardingChannel<SshClientContext>
LocalForwardingChannelFactoryImpl.createChannel
(String channelType, com.sshtools.common.ssh.SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) protected final com.sshtools.synergy.ssh.Connection<SshClientContext>
SshClient.doConnect
(String hostname, int port, SshClientContext sshContext, long connectTimeout, List<String> keys) com.sshtools.synergy.ssh.ChannelFactory<SshClientContext>
SshClientContext.getChannelFactory()
com.sshtools.synergy.ssh.Connection<SshClientContext>
SshClient.getConnection()
com.sshtools.synergy.ssh.ConnectionManager<SshClientContext>
SshClientContext.getConnectionManager()
com.sshtools.synergy.ssh.ForwardingManager<SshClientContext>
SshClientContext.getForwardingManager()
com.sshtools.synergy.ssh.GlobalRequestHandler<SshClientContext>
SshClientContext.getGlobalRequestHandler
(String name) protected com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
DefaultClientChannelFactory.onCreateChannel
(String channeltype, com.sshtools.common.ssh.SshConnection con) Methods in com.sshtools.client with parameters of type SshClientContextModifier and TypeMethodDescriptionvoid
SshClient.OnConfiguration.accept
(SshClientContext ctx) protected void
SshClient.configure
(SshClientContext sshContext) Deprecated, for removal: This API element is subject to removal in a future version.protected com.sshtools.synergy.ssh.ForwardingChannel<SshClientContext>
LocalForwardingChannelFactoryImpl.createChannel
(String channelType, com.sshtools.common.ssh.SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) protected final com.sshtools.synergy.ssh.Connection<SshClientContext>
SshClient.doConnect
(String hostname, int port, SshClientContext sshContext, long connectTimeout, List<String> keys) SshClient.SshClientBuilder.withSshContext
(SshClientContext context) Set theSshClientContext
to use.Method parameters in com.sshtools.client with type arguments of type SshClientContextModifier and TypeMethodDescriptionSshClientContext.addGlobalRequestHandler
(com.sshtools.synergy.ssh.GlobalRequestHandler<SshClientContext> handler) protected void
TransportProtocolClient.completeKeyExchange
(com.sshtools.synergy.ssh.components.SshKeyExchange<SshClientContext> keyExchange) protected com.sshtools.synergy.ssh.ChannelNG<SshClientContext>
ConnectionProtocolClient.createChannel
(String channeltype, com.sshtools.synergy.ssh.Connection<SshClientContext> con) Create an SSH channel.protected void
TransportProtocolClient.initializeKeyExchange
(com.sshtools.synergy.ssh.components.SshKeyExchange<SshClientContext> keyExchange, boolean firstPacketFollows, boolean useFirstPacket) boolean
DefaultRemoteForwardRequestHandler.isHandled
(String hostToBind, int portToBind, String destinationHost, int destinationPort, com.sshtools.synergy.ssh.ConnectionProtocol<SshClientContext> conn) protected void
PublicKeyAuthenticator.onStartAuthentication
(com.sshtools.synergy.ssh.Connection<SshClientContext> con) void
SshClientContext.setChannelFactory
(com.sshtools.synergy.ssh.ChannelFactory<SshClientContext> channelFactory) SshClientContext.setConnectionManager
(com.sshtools.synergy.ssh.ConnectionManager<SshClientContext> connectionManager) SshClientContext.setForwardingManager
(com.sshtools.synergy.ssh.ForwardingManager<SshClientContext> forwardingManager) int
DefaultRemoteForwardRequestHandler.startRemoteForward
(String hostToBind, int portToBind, String destinationHost, int destinationPort, com.sshtools.synergy.ssh.ConnectionProtocol<SshClientContext> conn) void
DefaultRemoteForwardRequestHandler.stopRemoteForward
(String hostToBind, int portToBind, String destinationHost, int destinationPort, com.sshtools.synergy.ssh.ConnectionProtocol<SshClientContext> conn) Constructors in com.sshtools.client with parameters of type SshClientContextModifierConstructorDescriptionAuthenticationProtocolClient
(TransportProtocolClient transport, SshClientContext context, String username) SshClient
(String hostname, int port, String username, char[] password, SshClientContext context) Deprecated, for removal: This API element is subject to removal in a future version.SshClient
(String hostname, int port, String username, SshClientContext sshContext, long connectTimeout, char[] password, com.sshtools.common.ssh.components.SshKeyPair... identities) Deprecated, for removal: This API element is subject to removal in a future version.SshClient
(String hostname, int port, String username, SshClientContext sshContext, long connectTimeout, com.sshtools.common.ssh.components.SshKeyPair... identities) Deprecated, for removal: This API element is subject to removal in a future version.SshClient
(String hostname, int port, String username, SshClientContext sshContext, com.sshtools.common.ssh.components.SshKeyPair... identities) Deprecated, for removal: This API element is subject to removal in a future version.SshClient
(String hostname, Integer port, String username, SshClientContext sshContext) Deprecated, for removal: This API element is subject to removal in a future version.SshClient
(String hostname, Integer port, String username, SshClientContext sshContext, long connectTimeout) Deprecated, for removal: This API element is subject to removal in a future version.TransportProtocolClient
(SshClientContext sshContext, com.sshtools.synergy.nio.ConnectRequestFuture connectFuture) Constructor parameters in com.sshtools.client with type arguments of type SshClientContextModifierConstructorDescriptionConnectionProtocolClient
(com.sshtools.synergy.ssh.TransportProtocol<SshClientContext> transport, String username) -
Uses of SshClientContext in com.sshtools.client.components
Method parameters in com.sshtools.client.components with type arguments of type SshClientContextModifier and TypeMethodDescriptionvoid
Curve25519SHA256Client.init
(com.sshtools.synergy.ssh.SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, com.sshtools.common.ssh.components.SshPrivateKey prvkey, com.sshtools.common.ssh.components.SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) void
DiffieHellmanEcdh.init
(com.sshtools.synergy.ssh.SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, com.sshtools.common.ssh.components.SshPrivateKey prvkey, com.sshtools.common.ssh.components.SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) void
DiffieHellmanGroup.init
(com.sshtools.synergy.ssh.SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, com.sshtools.common.ssh.components.SshPrivateKey prvkey, com.sshtools.common.ssh.components.SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) void
DiffieHellmanGroupExchange.init
(com.sshtools.synergy.ssh.SshTransport<SshClientContext> transport, String clientIdentification, String serverIdentification, byte[] clientKexInit, byte[] serverKexInit, boolean firstPacketFollows, boolean useFirstPacket) void
DiffieHellmanGroupExchange.init
(com.sshtools.synergy.ssh.SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, com.sshtools.common.ssh.components.SshPrivateKey prvkey, com.sshtools.common.ssh.components.SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) void
Rsa1024Sha1.init
(com.sshtools.synergy.ssh.SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, com.sshtools.common.ssh.components.SshPrivateKey prvkey, com.sshtools.common.ssh.components.SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) void
Rsa2048Sha256.init
(com.sshtools.synergy.ssh.SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, com.sshtools.common.ssh.components.SshPrivateKey prvkey, com.sshtools.common.ssh.components.SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) -
Uses of SshClientContext in com.sshtools.client.sftp
Methods in com.sshtools.client.sftp that return SshClientContext -
Uses of SshClientContext in com.sshtools.client.tasks
Constructor parameters in com.sshtools.client.tasks with type arguments of type SshClientContextModifierConstructorDescriptionAsyncSessionTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con) AsyncSessionTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, com.sshtools.common.ssh.ChannelRequestFuture future) DownloadFileTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, String path) Deprecated, for removal: This API element is subject to removal in a future version.DownloadFileTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, String path, File localFile) Deprecated, for removal: This API element is subject to removal in a future version.DownloadOutputStreamTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, String path, OutputStream output) Deprecated.StatTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, String path) Deprecated, for removal: This API element is subject to removal in a future version.UploadFileContentTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, String content, String encoding, String path) Deprecated, for removal: This API element is subject to removal in a future version.UploadFileTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, File localFile) Deprecated, for removal: This API element is subject to removal in a future version.UploadFileTask
(com.sshtools.synergy.ssh.Connection<SshClientContext> con, File localFile, String path) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of SshClientContext in com.sshtools.server.callback
Subclasses of SshClientContext in com.sshtools.server.callbackMethods in com.sshtools.server.callback that return SshClientContextModifier and TypeMethodDescriptionCallbackContextFactory.createContext
(com.sshtools.synergy.nio.SshEngineContext daemonContext, SocketChannel sc) Methods in com.sshtools.server.callback with parameters of type SshClientContextModifier and TypeMethodDescriptionprotected void
CallbackContextFactory.configureCallbackContext
(SshClientContext clientContext) -
Uses of SshClientContext in com.sshtools.vsession.commands.ssh
Methods in com.sshtools.vsession.commands.ssh that return SshClientContextModifier and TypeMethodDescriptionstatic SshClientContext
SshClientHelper.getSshContext
(SshClientArguments arguments) Methods in com.sshtools.vsession.commands.ssh with parameters of type SshClientContextModifier and TypeMethodDescriptionstatic void
SshClientHelper.setUpCipherSpecs
(SshClientArguments arguments, SshClientContext ctx) static void
SshClientHelper.setUpCompression
(SshClientArguments arguments, SshClientContext ctx) static void
SshClientHelper.setUpMacSpecs
(SshClientArguments arguments, SshClientContext ctx)