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 SshTransport<SshClientContext>SshKeyExchangeClient.transportThe transport protocol for sending/receiving messagesMethods in com.sshtools.client that return SshClientContextModifier and TypeMethodDescriptionSshClientContext.addAuthenticator(ClientAuthenticator auth) SshClientContext.addGlobalRequestHandler(GlobalRequestHandler<SshClientContext> handler) SshClientContext.addStateListener(ClientStateListener stateListener) ConnectionProtocolClient.getContext()SshClient.getContext()SshClientContext.setBannerDisplay(BannerDisplay bannerDisplay) SshClientContext.setConnectionManager(ConnectionManager<SshClientContext> connectionManager) SshClientContext.setForwardingManager(ForwardingManager<SshClientContext> forwardingManager) SshClientContext.setHostKeyVerification(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 ChannelNG<SshClientContext>ConnectionProtocolClient.createChannel(String channeltype, Connection<SshClientContext> con) Create an SSH channel.final ChannelNG<SshClientContext>DefaultClientChannelFactory.createChannel(String channeltype, SshConnection con) Called when a channel needs to be created.protected ForwardingChannel<SshClientContext>LocalForwardingChannelFactoryImpl.createChannel(String channelType, SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) protected final Connection<SshClientContext>SshClient.doConnect(String hostname, int port, SshClientContext sshContext, long connectTimeout, List<String> keys) SshClientContext.getChannelFactory()SshClient.getConnection()SshClientContext.getConnectionManager()SshClientContext.getForwardingManager()SshClientContext.getGlobalRequestHandler(String name) protected ChannelNG<SshClientContext>DefaultClientChannelFactory.onCreateChannel(String channeltype, SshConnection con) Methods in com.sshtools.client with parameters of type SshClientContextModifier and TypeMethodDescriptionvoidSshClient.OnConfiguration.accept(SshClientContext ctx) protected voidSshClient.configure(SshClientContext sshContext) Deprecated, for removal: This API element is subject to removal in a future version.protected ForwardingChannel<SshClientContext>LocalForwardingChannelFactoryImpl.createChannel(String channelType, SshConnection con, String addressToBind, int portToBind, SocketChannel sc, SshClientContext context) protected final Connection<SshClientContext>SshClient.doConnect(String hostname, int port, SshClientContext sshContext, long connectTimeout, List<String> keys) SshClient.SshClientBuilder.withSshContext(SshClientContext context) Set theSshClientContextto use.Method parameters in com.sshtools.client with type arguments of type SshClientContextModifier and TypeMethodDescriptionSshClientContext.addGlobalRequestHandler(GlobalRequestHandler<SshClientContext> handler) protected voidTransportProtocolClient.completeKeyExchange(SshKeyExchange<SshClientContext> keyExchange) protected ChannelNG<SshClientContext>ConnectionProtocolClient.createChannel(String channeltype, Connection<SshClientContext> con) Create an SSH channel.protected voidTransportProtocolClient.initializeKeyExchange(SshKeyExchange<SshClientContext> keyExchange, boolean firstPacketFollows, boolean useFirstPacket) booleanDefaultRemoteForwardRequestHandler.isHandled(String hostToBind, int portToBind, String destinationHost, int destinationPort, ConnectionProtocol<SshClientContext> conn) protected voidPublicKeyAuthenticator.onStartAuthentication(Connection<SshClientContext> con) voidSshClientContext.setChannelFactory(ChannelFactory<SshClientContext> channelFactory) SshClientContext.setConnectionManager(ConnectionManager<SshClientContext> connectionManager) SshClientContext.setForwardingManager(ForwardingManager<SshClientContext> forwardingManager) intDefaultRemoteForwardRequestHandler.startRemoteForward(String hostToBind, int portToBind, String destinationHost, int destinationPort, ConnectionProtocol<SshClientContext> conn) voidDefaultRemoteForwardRequestHandler.stopRemoteForward(String hostToBind, int portToBind, String destinationHost, int destinationPort, 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, 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, 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, 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, ConnectRequestFuture connectFuture) Constructor parameters in com.sshtools.client with type arguments of type SshClientContextModifierConstructorDescriptionConnectionProtocolClient(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 TypeMethodDescriptionvoidCurve25519SHA256Client.init(SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvkey, SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) voidDiffieHellmanEcdh.init(SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvkey, SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) voidDiffieHellmanGroup.init(SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvkey, SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) voidDiffieHellmanGroupExchange.init(SshTransport<SshClientContext> transport, String clientIdentification, String serverIdentification, byte[] clientKexInit, byte[] serverKexInit, boolean firstPacketFollows, boolean useFirstPacket) voidDiffieHellmanGroupExchange.init(SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvkey, SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) voidRsa1024Sha1.init(SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvkey, SshPublicKey pubkey, boolean firstPacketFollows, boolean useFirstPacket) voidRsa2048Sha256.init(SshTransport<SshClientContext> transport, String clientId, String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvkey, 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(Connection<SshClientContext> con, ChannelRequestFuture future) DownloadFileTask(Connection<SshClientContext> con, String path) Deprecated, for removal: This API element is subject to removal in a future version.DownloadFileTask(Connection<SshClientContext> con, String path, File localFile) Deprecated, for removal: This API element is subject to removal in a future version.DownloadOutputStreamTask(Connection<SshClientContext> con, String path, OutputStream output) Deprecated.StatTask(Connection<SshClientContext> con, String path) Deprecated, for removal: This API element is subject to removal in a future version.UploadFileContentTask(Connection<SshClientContext> con, String content, String encoding, String path) Deprecated, for removal: This API element is subject to removal in a future version.UploadFileTask(Connection<SshClientContext> con, File localFile) Deprecated, for removal: This API element is subject to removal in a future version.UploadFileTask(Connection<SshClientContext> con, File localFile, String path) Deprecated, for removal: This API element is subject to removal in a future version.