Uses of Interface
org.apache.sshd.common.session.Session
Packages that use Session
Package
Description
-
Uses of Session in org.apache.sshd.agent
Methods in org.apache.sshd.agent with parameters of type SessionModifier and TypeMethodDescriptionSshAgentFactory.createClient
(Session session, FactoryManager manager) Create an SshAgent that can be used on the client side by the authentication process to send possible keys. -
Uses of Session in org.apache.sshd.agent.common
Methods in org.apache.sshd.agent.common with parameters of type SessionModifier and TypeMethodDescriptionprotected SshAgentServer
DefaultAgentForwardSupport.createSshAgentServer
(ConnectionService service, Session session) -
Uses of Session in org.apache.sshd.agent.local
Methods in org.apache.sshd.agent.local with parameters of type SessionModifier and TypeMethodDescriptionChannelAgentForwardingFactory.createChannel
(Session session) LocalAgentFactory.createClient
(Session session, FactoryManager manager) ProxyAgentFactory.createClient
(Session session, FactoryManager manager) -
Uses of Session in org.apache.sshd.agent.unix
Methods in org.apache.sshd.agent.unix with parameters of type SessionModifier and TypeMethodDescriptionChannelAgentForwardingFactory.createChannel
(Session session) UnixAgentFactory.createClient
(Session session, FactoryManager manager) -
Uses of Session in org.apache.sshd.client.channel
Methods in org.apache.sshd.client.channel with parameters of type SessionModifier and TypeMethodDescriptionprotected void
ChannelSession.sendEnvVariables
(Session session) -
Uses of Session in org.apache.sshd.client.global
Methods in org.apache.sshd.client.global with parameters of type SessionModifier and TypeMethodDescriptionprotected RequestHandler.Result
OpenSshHostKeysHandler.handleHostKeys
(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) -
Uses of Session in org.apache.sshd.client.kex
Methods in org.apache.sshd.client.kex with parameters of type SessionModifier and TypeMethodDescriptionprotected void
DHGClient.verifyCertificate
(Session session, OpenSshCertificate openSshKey) Constructors in org.apache.sshd.client.kex with parameters of type SessionModifierConstructorDescriptionprotected
AbstractDHClientKeyExchange
(Session session) protected
protected
DHGEXClient
(DHFactory factory, Session session) -
Uses of Session in org.apache.sshd.client.session
Subinterfaces of Session in org.apache.sshd.client.sessionModifier and TypeInterfaceDescriptioninterface
An authenticated session to a given SSH server.Classes in org.apache.sshd.client.session that implement SessionModifier and TypeClassDescriptionclass
Provides default implementations ofClientSession
related methodsclass
The default implementation of aClientSession
Methods in org.apache.sshd.client.session with parameters of type SessionModifier and TypeMethodDescriptionConstructors in org.apache.sshd.client.session with parameters of type Session -
Uses of Session in org.apache.sshd.common
Methods in org.apache.sshd.common with parameters of type SessionModifier and TypeMethodDescriptionstatic Service
ServiceFactory.create
(Collection<? extends ServiceFactory> factories, String name, Session session) Create an instance of the specified name by looking up the needed factory in the list (case insensitive. -
Uses of Session in org.apache.sshd.common.channel
Fields in org.apache.sshd.common.channel declared as SessionMethods in org.apache.sshd.common.channel that return SessionMethods in org.apache.sshd.common.channel with parameters of type SessionModifier and TypeMethodDescriptionChannelFactory.createChannel
(Session session) static Channel
ChannelFactory.createChannel
(Session session, Collection<? extends ChannelFactory> factories, String name) void
AbstractChannel.handleChannelRegistrationResult
(ConnectionService service, Session session, long channelId, boolean registered) void
Channel.handleChannelRegistrationResult
(ConnectionService service, Session session, long id, boolean registered) Invoked after being successfully registered by the connection service - should throw aRuntimeException
if not registeredvoid
AbstractChannel.init
(ConnectionService service, Session session, long id) void
Channel.init
(ConnectionService service, Session session, long id) Invoked when the local channel is initial created -
Uses of Session in org.apache.sshd.common.forward
Fields in org.apache.sshd.common.forward declared as SessionMethods in org.apache.sshd.common.forward that return SessionMethods in org.apache.sshd.common.forward with parameters of type SessionModifier and TypeMethodDescriptiondefault void
PortForwardingEventListener.establishedDynamicTunnel
(Session session, SshdSocketAddress local, SshdSocketAddress boundAddress, Throwable reason) Signals a successful/failed attempt to establish a dynamic port forwardingdefault void
PortForwardingEventListener.establishedExplicitTunnel
(Session session, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, Throwable reason) Signals a successful/failed attempt to establish a local/remote port forwardingdefault void
PortForwardingEventListener.establishingDynamicTunnel
(Session session, SshdSocketAddress local) Signals the attempt to establish a dynamic port forwardingdefault void
PortForwardingEventListener.establishingExplicitTunnel
(Session session, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding) Signals the attempt to establish a local/remote port forwardingdefault void
PortForwardingEventListener.tearingDownDynamicTunnel
(Session session, SshdSocketAddress address) Signals a request to tear down a dynamic forwardingdefault void
PortForwardingEventListener.tearingDownExplicitTunnel
(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress) Signals a request to tear down a local/remote port forwardingdefault void
PortForwardingEventListener.tornDownDynamicTunnel
(Session session, SshdSocketAddress address, Throwable reason) Signals a successful/failed request to tear down a dynamic port forwardingdefault void
PortForwardingEventListener.tornDownExplicitTunnel
(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress, Throwable reason) Signals a successful/failed request to tear down a local/remote port forwarding -
Uses of Session in org.apache.sshd.common.global
Methods in org.apache.sshd.common.global with parameters of type SessionModifier and TypeMethodDescriptionprotected abstract RequestHandler.Result
AbstractOpenSshHostKeysHandler.handleHostKeys
(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) -
Uses of Session in org.apache.sshd.common.kex
Methods in org.apache.sshd.common.kex with parameters of type Session -
Uses of Session in org.apache.sshd.common.kex.dh
Fields in org.apache.sshd.common.kex.dh declared as SessionMethods in org.apache.sshd.common.kex.dh that return SessionConstructors in org.apache.sshd.common.kex.dh with parameters of type Session -
Uses of Session in org.apache.sshd.common.kex.extension
Methods in org.apache.sshd.common.kex.extension with parameters of type SessionModifier and TypeMethodDescriptionvoid
DefaultServerKexExtensionHandler.collectExtensions
(Session session, KexExtensionHandler.KexPhase phase, BiConsumer<String, Object> marshaller) Collects extension info records, handing them off to the givenmarshaller
for writing into anKexExtensions.SSH_MSG_EXT_INFO
message.default boolean
KexExtensionHandler.handleKexCompressionMessage
(Session session, Buffer buffer) Parses theSSH_MSG_NEWCOMPRESS
message.default void
KexExtensionHandler.handleKexExtensionNegotiation
(Session session, KexProposalOption option, String nValue, Map<KexProposalOption, String> c2sOptions, String cValue, Map<KexProposalOption, String> s2cOptions, String sValue) Invoked during the KEX negotiation phase to inform about option being negotiated.boolean
DefaultClientKexExtensionHandler.handleKexExtensionRequest
(Session session, int index, int count, String name, byte[] data) default boolean
KexExtensionHandler.handleKexExtensionRequest
(Session session, int index, int count, String name, byte[] data) Invoked byKexExtensionHandler.handleKexExtensionsMessage(Session, Buffer)
in order to handle a specific extension.default boolean
KexExtensionHandler.handleKexExtensionsMessage
(Session session, Buffer buffer) Parses theSSH_MSG_EXT_INFO
message.void
DefaultServerKexExtensionHandler.handleKexInitProposal
(Session session, boolean initiator, Map<KexProposalOption, String> proposal) default void
KexExtensionHandler.handleKexInitProposal
(Session session, boolean initiator, Map<KexProposalOption, String> proposal) Invoked when a peer is ready to send the KEX options proposal or has received such a proposal.protected void
DefaultClientKexExtensionHandler.handleServerSignatureAlgorithms
(Session session, Collection<String> serverAlgorithms) Perform updates after a server-sig-algs extension has been received.boolean
DefaultClientKexExtensionHandler.isKexExtensionsAvailable
(Session session, KexExtensionHandler.AvailabilityPhase phase) default boolean
KexExtensionHandler.isKexExtensionsAvailable
(Session session, KexExtensionHandler.AvailabilityPhase phase) void
DefaultServerKexExtensionHandler.sendKexExtensions
(Session session, KexExtensionHandler.KexPhase phase) default void
KexExtensionHandler.sendKexExtensions
(Session session, KexExtensionHandler.KexPhase phase) Invoked in order to allow the handler to send anSSH_MSG_EXT_INFO
message. -
Uses of Session in org.apache.sshd.common.session
Classes in org.apache.sshd.common.session with type parameters of type SessionFields in org.apache.sshd.common.session declared as SessionMethods in org.apache.sshd.common.session that return SessionMethods in org.apache.sshd.common.session with parameters of type SessionModifier and TypeMethodDescriptiondefault boolean
SessionDisconnectHandler.handleAuthCountDisconnectReason
(Session session, Service service, String serviceName, String method, String user, int currentAuthCount, int maxAuthCount) Invoked if the number of authentication attempts exceeded the maximum alloweddefault boolean
SessionDisconnectHandler.handleAuthParamsDisconnectReason
(Session session, Service service, String authUser, String username, String authService, String serviceName) Invoked if the authentication parameters changed in mid-authentication process.default void
ReservedSessionMessagesHandler.handleDebugMessage
(Session session, Buffer buffer) Invoked when anSSH_MSG_DEBUG
packet is receiveddefault void
ReservedSessionMessagesHandler.handleIgnoreMessage
(Session session, Buffer buffer) Invoked when anSSH_MSG_IGNORE
packet is receiveddefault boolean
SessionDisconnectHandler.handleKexDisconnectReason
(Session session, Map<KexProposalOption, String> c2sOptions, Map<KexProposalOption, String> s2cOptions, Map<KexProposalOption, String> negotiatedGuess, KexProposalOption option) Invoked if after KEX negotiation parameters resolved one of the options violates some internal constraint (e.g., cannot negotiate a value, or RFC 8308 - section 2.2).default boolean
SessionDisconnectHandler.handleSessionsCountDisconnectReason
(Session session, Service service, String username, int currentSessionCount, int maxSessionCount) Called to inform that the maximum allowed concurrent sessions threshold has been exceeded.default boolean
SessionDisconnectHandler.handleTimeoutDisconnectReason
(Session session, TimeoutIndicator timeoutStatus) Invoked when an internal timeout has expired (e.g., authentication, idle).default boolean
ReservedSessionMessagesHandler.handleUnimplementedMessage
(Session session, int cmd, Buffer buffer) Invoked when a packet with an un-implemented message is received - includingSSH_MSG_UNIMPLEMENTED
itselfdefault boolean
SessionDisconnectHandler.handleUnsupportedServiceDisconnectReason
(Session session, int cmd, String serviceName, Buffer buffer) Invoked when a request has been made related to an unknown SSH service as described in RFC 4253 - section 10.static <T> T
Session.resolveAttribute
(Session session, AttributeRepository.AttributeKey<T> key) Attempts to use the session's attribute, if not found then tries the factory managerdefault IoWriteFuture
ReservedSessionMessagesHandler.sendIdentification
(Session session, String version, List<String> extraLines) Send the initial version exchange identification in and independent mannerdefault IoWriteFuture
ReservedSessionMessagesHandler.sendKexInitRequest
(Session session, Map<KexProposalOption, String> proposal, Buffer packet) Invoked before sending theSSH_MSG_KEXINIT
packetdefault void
SessionListener.sessionClosed
(Session session) A session has been closeddefault void
SessionListener.sessionCreated
(Session session) A new session just been createddefault void
SessionListener.sessionDisconnect
(Session session, int reason, String msg, String language, boolean initiator) Invoked whenSSH_MSG_DISCONNECT
message was sent/receiveddefault void
SessionListener.sessionEstablished
(Session session) An initial session connection has been established - Caveat emptor: the main difference between this callback andSessionListener.sessionCreated(Session)
is that when this callback is called, the session is not yet fully initialized so not all API(s) will respond as expected.default void
SessionListener.sessionEvent
(Session session, SessionListener.Event event) An event has been triggereddefault void
SessionListener.sessionException
(Session session, Throwable t) An exception was caught and the session will be closed (if not already so).default void
SessionListener.sessionNegotiationEnd
(Session session, Map<KexProposalOption, String> clientProposal, Map<KexProposalOption, String> serverProposal, Map<KexProposalOption, String> negotiatedOptions, Throwable reason) Signals the end of the negotiation options handlingdefault void
SessionListener.sessionNegotiationOptionsCreated
(Session session, Map<KexProposalOption, String> proposal) default void
SessionListener.sessionNegotiationStart
(Session session, Map<KexProposalOption, String> clientProposal, Map<KexProposalOption, String> serverProposal) Signals the start of the negotiation options handlingdefault void
SessionListener.sessionPeerIdentificationLine
(Session session, String line, List<String> extraLines) Successfully read a line as part of the initial peer identificationdefault void
SessionListener.sessionPeerIdentificationReceived
(Session session, String version, List<String> extraLines) The peer's identification version was receiveddefault void
SessionListener.sessionPeerIdentificationSend
(Session session, String version, List<String> extraLines) About to send identification to peerConstructors in org.apache.sshd.common.session with parameters of type Session -
Uses of Session in org.apache.sshd.common.session.helpers
Classes in org.apache.sshd.common.session.helpers that implement SessionModifier and TypeClassDescriptionclass
The AbstractSession handles all the basic SSH protocol such as key exchange, authentication, encoding and decoding.class
Contains split code in order to makeAbstractSession
class smallerFields in org.apache.sshd.common.session.helpers declared as SessionModifier and TypeFieldDescriptionprotected final Session
CurrentService.session
The session thisCurrentService
belongs to.Methods in org.apache.sshd.common.session.helpers with parameters of type SessionModifier and TypeMethodDescriptionprotected AgentForwardSupport
AbstractConnectionService.createAgentForwardSupport
(Session session) protected Forwarder
AbstractConnectionService.createForwardingFilter
(Session session) protected X11ForwardSupport
AbstractConnectionService.createX11ForwardSupport
(Session session) void
ReservedSessionMessagesHandlerAdapter.handleDebugMessage
(Session session, boolean display, String msg, String lang, Buffer buffer) void
ReservedSessionMessagesHandlerAdapter.handleDebugMessage
(Session session, Buffer buffer) void
ReservedSessionMessagesHandlerAdapter.handleIgnoreMessage
(Session session, byte[] data, Buffer buffer) void
ReservedSessionMessagesHandlerAdapter.handleIgnoreMessage
(Session session, Buffer buffer) boolean
ReservedSessionMessagesHandlerAdapter.handleUnimplementedMessage
(Session session, int cmd, Buffer buffer) ReservedSessionMessagesHandlerAdapter.sendIdentification
(Session session, String version, List<String> extraLines) void
SessionTimeoutListener.sessionClosed
(Session s) void
SessionTimeoutListener.sessionCreated
(Session session) void
SessionTimeoutListener.sessionException
(Session session, Throwable t) Constructors in org.apache.sshd.common.session.helpers with parameters of type SessionModifierConstructorDescriptionprotected
CurrentService
(Session session) Creates a newCurrentService
instance belonging to the givenSession
. -
Uses of Session in org.apache.sshd.scp.client
Methods in org.apache.sshd.scp.client with parameters of type SessionModifier and TypeMethodDescriptionDefaultScpStreamResolver.resolveSourceStream
(Session session, long length, Set<PosixFilePermission> permissions, OpenOption... options) -
Uses of Session in org.apache.sshd.scp.common
Fields in org.apache.sshd.scp.common declared as SessionMethods in org.apache.sshd.scp.common that return SessionMethods in org.apache.sshd.scp.common with parameters of type SessionModifier and TypeMethodDescriptiondefault void
ScpFileOpener.closeRead
(Session session, Path file, long size, Set<PosixFilePermission> permissions, InputStream stream) Called when the stream obtained fromopenRead
is no longer required since data has been successfully copied.default void
ScpSourceStreamResolver.closeSourceStream
(Session session, long fileSize, Set<PosixFilePermission> permissions, InputStream stream) Called when the stream obtained fromresolveSourceStream
is no longer needed since since file copy was completed successfully.default void
ScpTargetStreamResolver.closeTargetStream
(Session session, String name, long length, Set<PosixFilePermission> perms, OutputStream stream) Called when target stream received fromresolveTargetStream
call is no longer needed since copy is successfully completed.default void
ScpFileOpener.closeWrite
(Session session, Path file, long size, Set<PosixFilePermission> permissions, OutputStream os) Called when output stream obtained fromopenWrite
is no longer needed since data copying has been successfully completed.ScpFileOpener.createScpSourceStreamResolver
(Session session, Path path) ScpFileOpener.createScpTargetStreamResolver
(Session session, Path path) void
AbstractScpTransferEventListenerAdapter.endFileEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, long length, Set<PosixFilePermission> perms, Throwable thrown) default void
ScpTransferEventListener.endFileEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, long length, Set<PosixFilePermission> perms, Throwable thrown) void
AbstractScpTransferEventListenerAdapter.endFolderEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, Set<PosixFilePermission> perms, Throwable thrown) default void
ScpTransferEventListener.endFolderEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, Set<PosixFilePermission> perms, Throwable thrown) default BasicFileAttributes
ScpFileOpener.getLocalBasicFileAttributes
(Session session, Path path, LinkOption... options) default Set
<PosixFilePermission> ScpFileOpener.getLocalFilePermissions
(Session session, Path path, LinkOption... options) default DirectoryStream
<Path> ScpFileOpener.getLocalFolderChildren
(Session session, Path path) Invoked when required to send all children of a local directoryScpFileOpener.getMatchingFilesToSend
(Session session, Path basedir, String pattern) Invoked when required to send a pattern of filesdefault void
ScpTransferEventListener.handleFileEventAckInfo
(Session session, ScpTransferEventListener.FileOperation op, Path file, long length, Set<PosixFilePermission> perms, ScpAckInfo ackInfo) Called afterScpTransferEventListener.endFileEvent(Session, FileOperation, Path, long, Set, Throwable)
if no exception was thrown and the peer's ACK was successfully readdefault void
ScpTransferEventListener.handleReceiveCommandAckInfo
(Session session, String command, ScpAckInfo ackInfo) Called after a receive related command has bee acknowledged by the peerScpFileOpener.openRead
(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) Create an input stream to read from a fileScpFileOpener.openWrite
(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) Create an output stream to write to a filevoid
ScpReceiveLineHandler.process
(Session session, String line, boolean isDir, ScpTimestampCommandDetails time) default Path
ScpFileOpener.resolveIncomingFilePath
(Session session, Path localPath, String name, boolean preserve, Set<PosixFilePermission> permissions, ScpTimestampCommandDetails time) Invoked when receiving a new file to via a directory commanddefault Path
ScpFileOpener.resolveIncomingReceiveLocation
(Session session, Path path, boolean recursive, boolean shouldBeDir, boolean preserve) Invoked when a request to receive something is processeddefault Path
ScpFileOpener.resolveLocalPath
(Session session, FileSystem fileSystem, String commandPath) default Path
ScpFileOpener.resolveOutgoingFilePath
(Session session, Path localPath, LinkOption... options) Called when there is a candidate file/folder for sendingScpSourceStreamResolver.resolveSourceStream
(Session session, long fileSize, Set<PosixFilePermission> permissions, OpenOption... options) ScpTargetStreamResolver.resolveTargetStream
(Session session, String name, long length, Set<PosixFilePermission> perms, OpenOption... options) Called when receiving a file in order to obtain an output stream for the incoming datadefault boolean
ScpFileOpener.sendAsDirectory
(Session session, Path path, LinkOption... options) Invoked on a local path in order to decide whether it should be sent as a file or as a directorydefault boolean
ScpFileOpener.sendAsRegularFile
(Session session, Path path, LinkOption... options) Invoked on a local path in order to decide whether it should be sent as a file or as a directoryvoid
AbstractScpTransferEventListenerAdapter.startFileEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, long length, Set<PosixFilePermission> perms) default void
ScpTransferEventListener.startFileEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, long length, Set<PosixFilePermission> perms) void
AbstractScpTransferEventListenerAdapter.startFolderEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, Set<PosixFilePermission> perms) default void
ScpTransferEventListener.startFolderEvent
(Session session, ScpTransferEventListener.FileOperation op, Path file, Set<PosixFilePermission> perms) protected void
ScpHelper.validateFileOperationAckReplyCode
(String command, Session session, ScpTransferEventListener.FileOperation op, Path file, long fileSize, Set<PosixFilePermission> perms, ScpAckInfo ackInfo) Constructors in org.apache.sshd.scp.common with parameters of type SessionModifierConstructorDescriptionScpHelper
(Session session, InputStream in, OutputStream out, FileSystem fileSystem, ScpFileOpener opener, ScpTransferEventListener eventListener) ScpHelper
(Session session, InputStream in, Charset csIn, OutputStream out, Charset csOut, FileSystem fileSystem, ScpFileOpener opener, ScpTransferEventListener eventListener) -
Uses of Session in org.apache.sshd.scp.common.helpers
Methods in org.apache.sshd.scp.common.helpers with parameters of type SessionModifier and TypeMethodDescriptionvoid
LocalFileScpSourceStreamResolver.closeSourceStream
(Session session, long length, Set<PosixFilePermission> permissions, InputStream stream) void
LocalFileScpTargetStreamResolver.closeTargetStream
(Session session, String name, long length, Set<PosixFilePermission> perms, OutputStream stream) DefaultScpFileOpener.createScpSourceStreamResolver
(Session session, Path path) DefaultScpFileOpener.createScpTargetStreamResolver
(Session session, Path path) DefaultScpFileOpener.openRead
(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) DefaultScpFileOpener.openWrite
(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) protected OpenOption[]
DefaultScpFileOpener.resolveOpenOptions
(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) LocalFileScpSourceStreamResolver.resolveSourceStream
(Session session, long length, Set<PosixFilePermission> permissions, OpenOption... options) LocalFileScpTargetStreamResolver.resolveTargetStream
(Session session, String name, long length, Set<PosixFilePermission> perms, OpenOption... options) -
Uses of Session in org.apache.sshd.server.channel
Methods in org.apache.sshd.server.channel with parameters of type SessionModifier and TypeMethodDescriptionChannelSessionFactory.createChannel
(Session session) static boolean
PuttyRequestHandler.isPuttyClient
(Session session) -
Uses of Session in org.apache.sshd.server.forward
Methods in org.apache.sshd.server.forward with parameters of type SessionModifier and TypeMethodDescriptionboolean
StaticDecisionForwardingFilter.canConnect
(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session) boolean
TcpForwardingFilter.canConnect
(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session) Determine if the session may create an outbound connection.boolean
AgentForwardingFilter.canForwardAgent
(Session session, String requestType) Determine if the session may arrange for agent forwarding.boolean
StaticDecisionForwardingFilter.canForwardAgent
(Session session, String requestType) boolean
StaticDecisionForwardingFilter.canForwardX11
(Session session, String requestType) boolean
X11ForwardingFilter.canForwardX11
(Session session, String requestType) Determine if the session may arrange for X11 forwarding.boolean
StaticDecisionForwardingFilter.canListen
(SshdSocketAddress address, Session session) boolean
TcpForwardingFilter.canListen
(SshdSocketAddress address, Session session) Determine if the session may listen for inbound connections.protected boolean
StaticDecisionForwardingFilter.checkAcceptance
(String request, Session session, SshdSocketAddress target) TcpipServerChannel.TcpipFactory.createChannel
(Session session) -
Uses of Session in org.apache.sshd.server.global
Methods in org.apache.sshd.server.global with parameters of type SessionModifier and TypeMethodDescriptionprotected RequestHandler.Result
OpenSshHostKeysHandler.handleHostKeys
(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) -
Uses of Session in org.apache.sshd.server.kex
Constructors in org.apache.sshd.server.kex with parameters of type SessionModifierConstructorDescriptionprotected
protected
DHGEXServer
(DHFactory factory, Session session) protected
-
Uses of Session in org.apache.sshd.server.session
Subinterfaces of Session in org.apache.sshd.server.sessionClasses in org.apache.sshd.server.session that implement SessionModifier and TypeClassDescriptionclass
Provides default implementations forServerSession
related methodsclass
The default implementation for aServerSession
Methods in org.apache.sshd.server.session with parameters of type SessionModifier and TypeMethodDescriptionConstructors in org.apache.sshd.server.session with parameters of type Session -
Uses of Session in org.apache.sshd.sftp.client.impl
Methods in org.apache.sshd.sftp.client.impl with parameters of type SessionModifier and TypeMethodDescriptionprotected ChannelAsyncOutputStream
DefaultSftpClient.SftpChannelSubsystem.createAsyncInput
(Session session) protected OutputStream
DefaultSftpClient.SftpChannelSubsystem.createErrOutputStream
(Session session) protected OutputStream
DefaultSftpClient.SftpChannelSubsystem.createStdOutputStream
(Session session) private Buffer