Uses of Interface
org.apache.sshd.common.session.Session
-
-
Uses of Session in org.apache.sshd.agent
Methods in org.apache.sshd.agent with parameters of type Session Modifier and Type Method Description SshAgentSshAgentFactory. 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 Session Modifier and Type Method Description protected SshAgentServerDefaultAgentForwardSupport. 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 Session Modifier and Type Method Description ChannelChannelAgentForwardingFactory. createChannel(Session session)SshAgentLocalAgentFactory. createClient(Session session, FactoryManager manager)SshAgentProxyAgentFactory. createClient(Session session, FactoryManager manager) -
Uses of Session in org.apache.sshd.client.global
Methods in org.apache.sshd.client.global with parameters of type Session Modifier and Type Method Description protected RequestHandler.ResultOpenSshHostKeysHandler. handleHostKeys(Session session, java.util.Collection<? extends java.security.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 Session Modifier and Type Method Description protected voidDHGClient. verifyCertificate(Session session, OpenSshCertificate openSshKey)Constructors in org.apache.sshd.client.kex with parameters of type Session Constructor Description AbstractDHClientKeyExchange(Session session)DHGClient(DHFactory factory, Session session)DHGEXClient(DHFactory factory, Session session) -
Uses of Session in org.apache.sshd.client.session
Subinterfaces of Session in org.apache.sshd.client.session Modifier and Type Interface Description interfaceClientSessionAn authenticated session to a given SSH server.Classes in org.apache.sshd.client.session that implement Session Modifier and Type Class Description classAbstractClientSessionProvides default implementations ofClientSessionrelated methodsclassClientSessionImplThe default implementation of aClientSessionMethods in org.apache.sshd.client.session with parameters of type Session Modifier and Type Method Description ServiceClientConnectionServiceFactory. create(Session session)ServiceClientUserAuthServiceFactory. create(Session session)Constructors in org.apache.sshd.client.session with parameters of type Session Constructor Description ClientUserAuthService(Session s) -
Uses of Session in org.apache.sshd.common
Methods in org.apache.sshd.common with parameters of type Session Modifier and Type Method Description static ServiceServiceFactory. create(java.util.Collection<? extends ServiceFactory> factories, java.lang.String name, Session session)Create an instance of the specified name by looking up the needed factory in the list (case insensitive.ServiceServiceFactory. create(Session session) -
Uses of Session in org.apache.sshd.common.channel
Fields in org.apache.sshd.common.channel declared as Session Modifier and Type Field Description private SessionAbstractChannel. sessionInstanceMethods in org.apache.sshd.common.channel that return Session Modifier and Type Method Description SessionAbstractChannel. getSession()Methods in org.apache.sshd.common.channel with parameters of type Session Modifier and Type Method Description ChannelChannelFactory. createChannel(Session session)static ChannelChannelFactory. createChannel(Session session, java.util.Collection<? extends ChannelFactory> factories, java.lang.String name)voidAbstractChannel. handleChannelRegistrationResult(ConnectionService service, Session session, int channelId, boolean registered)voidChannel. handleChannelRegistrationResult(ConnectionService service, Session session, int id, boolean registered)Invoked after being successfully registered by the connection service - should throw aRuntimeExceptionif not registeredvoidAbstractChannel. init(ConnectionService service, Session session, int id)voidChannel. init(ConnectionService service, Session session, int 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 Session Modifier and Type Field Description private SessionDefaultForwarder. sessionInstanceMethods in org.apache.sshd.common.forward that return Session Modifier and Type Method Description SessionDefaultForwarder. getSession()Methods in org.apache.sshd.common.forward with parameters of type Session Modifier and Type Method Description default voidPortForwardingEventListener. establishedDynamicTunnel(Session session, SshdSocketAddress local, SshdSocketAddress boundAddress, java.lang.Throwable reason)Signals a successful/failed attempt to establish a dynamic port forwardingdefault voidPortForwardingEventListener. establishedExplicitTunnel(Session session, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding, SshdSocketAddress boundAddress, java.lang.Throwable reason)Signals a successful/failed attempt to establish a local/remote port forwardingdefault voidPortForwardingEventListener. establishingDynamicTunnel(Session session, SshdSocketAddress local)Signals the attempt to establish a dynamic port forwardingdefault voidPortForwardingEventListener. establishingExplicitTunnel(Session session, SshdSocketAddress local, SshdSocketAddress remote, boolean localForwarding)Signals the attempt to establish a local/remote port forwardingdefault voidPortForwardingEventListener. tearingDownDynamicTunnel(Session session, SshdSocketAddress address)Signals a request to tear down a dynamic forwardingdefault voidPortForwardingEventListener. tearingDownExplicitTunnel(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress)Signals a request to tear down a local/remote port forwardingdefault voidPortForwardingEventListener. tornDownDynamicTunnel(Session session, SshdSocketAddress address, java.lang.Throwable reason)Signals a successful/failed request to tear down a dynamic port forwardingdefault voidPortForwardingEventListener. tornDownExplicitTunnel(Session session, SshdSocketAddress address, boolean localForwarding, SshdSocketAddress remoteAddress, java.lang.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 Session Modifier and Type Method Description protected abstract RequestHandler.ResultAbstractOpenSshHostKeysHandler. handleHostKeys(Session session, java.util.Collection<? extends java.security.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 Modifier and Type Method Description KeyExchangeKeyExchangeFactory. createKeyExchange(Session session) -
Uses of Session in org.apache.sshd.common.kex.dh
Fields in org.apache.sshd.common.kex.dh declared as Session Modifier and Type Field Description private SessionAbstractDHKeyExchange. sessionMethods in org.apache.sshd.common.kex.dh that return Session Modifier and Type Method Description SessionAbstractDHKeyExchange. getSession()Constructors in org.apache.sshd.common.kex.dh with parameters of type Session Constructor Description AbstractDHKeyExchange(Session session) -
Uses of Session in org.apache.sshd.common.kex.extension
Methods in org.apache.sshd.common.kex.extension with parameters of type Session Modifier and Type Method Description voidDefaultServerKexExtensionHandler. collectExtensions(Session session, KexExtensionHandler.KexPhase phase, java.util.function.BiConsumer<java.lang.String,java.lang.Object> marshaller)Collects extension info records, handing them off to the givenmarshallerfor writing into anKexExtensions.SSH_MSG_EXT_INFOmessage.default booleanKexExtensionHandler. handleKexCompressionMessage(Session session, Buffer buffer)Parses theSSH_MSG_NEWCOMPRESSmessage.default voidKexExtensionHandler. handleKexExtensionNegotiation(Session session, KexProposalOption option, java.lang.String nValue, java.util.Map<KexProposalOption,java.lang.String> c2sOptions, java.lang.String cValue, java.util.Map<KexProposalOption,java.lang.String> s2cOptions, java.lang.String sValue)Invoked during the KEX negotiation phase to inform about option being negotiated.booleanDefaultClientKexExtensionHandler. handleKexExtensionRequest(Session session, int index, int count, java.lang.String name, byte[] data)default booleanKexExtensionHandler. handleKexExtensionRequest(Session session, int index, int count, java.lang.String name, byte[] data)Invoked byKexExtensionHandler.handleKexExtensionsMessage(Session, Buffer)in order to handle a specific extension.default booleanKexExtensionHandler. handleKexExtensionsMessage(Session session, Buffer buffer)Parses theSSH_MSG_EXT_INFOmessage.voidDefaultServerKexExtensionHandler. handleKexInitProposal(Session session, boolean initiator, java.util.Map<KexProposalOption,java.lang.String> proposal)default voidKexExtensionHandler. handleKexInitProposal(Session session, boolean initiator, java.util.Map<KexProposalOption,java.lang.String> proposal)Invoked when a peer is ready to send the KEX options proposal or has received such a proposal.protected voidDefaultClientKexExtensionHandler. handleServerSignatureAlgorithms(Session session, java.util.Collection<java.lang.String> serverAlgorithms)Perform updates after a server-sig-algs extension has been received.booleanDefaultClientKexExtensionHandler. isKexExtensionsAvailable(Session session, KexExtensionHandler.AvailabilityPhase phase)default booleanKexExtensionHandler. isKexExtensionsAvailable(Session session, KexExtensionHandler.AvailabilityPhase phase)voidDefaultServerKexExtensionHandler. sendKexExtensions(Session session, KexExtensionHandler.KexPhase phase)default voidKexExtensionHandler. sendKexExtensions(Session session, KexExtensionHandler.KexPhase phase)Invoked in order to allow the handler to send anSSH_MSG_EXT_INFOmessage. -
Uses of Session in org.apache.sshd.common.session
Classes in org.apache.sshd.common.session with type parameters of type Session Modifier and Type Interface Description interfaceSessionHolder<S extends Session>Fields in org.apache.sshd.common.session declared as Session Modifier and Type Field Description private SessionSessionWorkBuffer. sessionMethods in org.apache.sshd.common.session that return Session Modifier and Type Method Description SessionSessionWorkBuffer. getSession()Methods in org.apache.sshd.common.session with parameters of type Session Modifier and Type Method Description default booleanSessionDisconnectHandler. handleAuthCountDisconnectReason(Session session, Service service, java.lang.String serviceName, java.lang.String method, java.lang.String user, int currentAuthCount, int maxAuthCount)Invoked if the number of authentication attempts exceeded the maximum alloweddefault booleanSessionDisconnectHandler. handleAuthParamsDisconnectReason(Session session, Service service, java.lang.String authUser, java.lang.String username, java.lang.String authService, java.lang.String serviceName)Invoked if the authentication parameters changed in mid-authentication process.default voidReservedSessionMessagesHandler. handleDebugMessage(Session session, Buffer buffer)Invoked when anSSH_MSG_DEBUGpacket is receiveddefault voidReservedSessionMessagesHandler. handleIgnoreMessage(Session session, Buffer buffer)Invoked when anSSH_MSG_IGNOREpacket is receiveddefault booleanSessionDisconnectHandler. handleKexDisconnectReason(Session session, java.util.Map<KexProposalOption,java.lang.String> c2sOptions, java.util.Map<KexProposalOption,java.lang.String> s2cOptions, java.util.Map<KexProposalOption,java.lang.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 booleanSessionDisconnectHandler. handleSessionsCountDisconnectReason(Session session, Service service, java.lang.String username, int currentSessionCount, int maxSessionCount)Called to inform that the maximum allowed concurrent sessions threshold has been exceeded.default booleanSessionDisconnectHandler. handleTimeoutDisconnectReason(Session session, TimeoutIndicator timeoutStatus)Invoked when an internal timeout has expired (e.g., authentication, idle).default booleanReservedSessionMessagesHandler. handleUnimplementedMessage(Session session, int cmd, Buffer buffer)Invoked when a packet with an un-implemented message is received - includingSSH_MSG_UNIMPLEMENTEDitselfdefault booleanSessionDisconnectHandler. handleUnsupportedServiceDisconnectReason(Session session, int cmd, java.lang.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> TSession. resolveAttribute(Session session, AttributeRepository.AttributeKey<T> key)Attempts to use the session's attribute, if not found then tries the factory managerdefault IoWriteFutureReservedSessionMessagesHandler. sendIdentification(Session session, java.lang.String version, java.util.List<java.lang.String> extraLines)Send the initial version exchange identification in and independent mannerdefault IoWriteFutureReservedSessionMessagesHandler. sendKexInitRequest(Session session, java.util.Map<KexProposalOption,java.lang.String> proposal, Buffer packet)Invoked before sending theSSH_MSG_KEXINITpacketdefault voidSessionListener. sessionClosed(Session session)A session has been closeddefault voidSessionListener. sessionCreated(Session session)A new session just been createddefault voidSessionListener. sessionDisconnect(Session session, int reason, java.lang.String msg, java.lang.String language, boolean initiator)Invoked whenSSH_MSG_DISCONNECTmessage was sent/receiveddefault voidSessionListener. 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 voidSessionListener. sessionEvent(Session session, SessionListener.Event event)An event has been triggereddefault voidSessionListener. sessionException(Session session, java.lang.Throwable t)An exception was caught and the session will be closed (if not already so).default voidSessionListener. sessionNegotiationEnd(Session session, java.util.Map<KexProposalOption,java.lang.String> clientProposal, java.util.Map<KexProposalOption,java.lang.String> serverProposal, java.util.Map<KexProposalOption,java.lang.String> negotiatedOptions, java.lang.Throwable reason)Signals the end of the negotiation options handlingdefault voidSessionListener. sessionNegotiationOptionsCreated(Session session, java.util.Map<KexProposalOption,java.lang.String> proposal)default voidSessionListener. sessionNegotiationStart(Session session, java.util.Map<KexProposalOption,java.lang.String> clientProposal, java.util.Map<KexProposalOption,java.lang.String> serverProposal)Signals the start of the negotiation options handlingdefault voidSessionListener. sessionPeerIdentificationLine(Session session, java.lang.String line, java.util.List<java.lang.String> extraLines)Successfully read a line as part of the initial peer identificationdefault voidSessionListener. sessionPeerIdentificationReceived(Session session, java.lang.String version, java.util.List<java.lang.String> extraLines)The peer's identification version was receiveddefault voidSessionListener. sessionPeerIdentificationSend(Session session, java.lang.String version, java.util.List<java.lang.String> extraLines)About to send identification to peerConstructors in org.apache.sshd.common.session with parameters of type Session Constructor Description SessionWorkBuffer(Session session) -
Uses of Session in org.apache.sshd.common.session.helpers
Classes in org.apache.sshd.common.session.helpers that implement Session Modifier and Type Class Description classAbstractSessionThe AbstractSession handles all the basic SSH protocol such as key exchange, authentication, encoding and decoding.classSessionHelperContains split code in order to makeAbstractSessionclass smallerMethods in org.apache.sshd.common.session.helpers with parameters of type Session Modifier and Type Method Description protected AgentForwardSupportAbstractConnectionService. createAgentForwardSupport(Session session)protected ForwarderAbstractConnectionService. createForwardingFilter(Session session)protected X11ForwardSupportAbstractConnectionService. createX11ForwardSupport(Session session)voidReservedSessionMessagesHandlerAdapter. handleDebugMessage(Session session, boolean display, java.lang.String msg, java.lang.String lang, Buffer buffer)voidReservedSessionMessagesHandlerAdapter. handleDebugMessage(Session session, Buffer buffer)voidReservedSessionMessagesHandlerAdapter. handleIgnoreMessage(Session session, byte[] data, Buffer buffer)voidReservedSessionMessagesHandlerAdapter. handleIgnoreMessage(Session session, Buffer buffer)booleanReservedSessionMessagesHandlerAdapter. handleUnimplementedMessage(Session session, int cmd, Buffer buffer)IoWriteFutureReservedSessionMessagesHandlerAdapter. sendIdentification(Session session, java.lang.String version, java.util.List<java.lang.String> extraLines)voidSessionTimeoutListener. sessionClosed(Session s)voidSessionTimeoutListener. sessionCreated(Session session)voidSessionTimeoutListener. sessionException(Session session, java.lang.Throwable t) -
Uses of Session in org.apache.sshd.scp.client
Methods in org.apache.sshd.scp.client with parameters of type Session Modifier and Type Method Description java.io.InputStreamDefaultScpStreamResolver. resolveSourceStream(Session session, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options) -
Uses of Session in org.apache.sshd.scp.common
Fields in org.apache.sshd.scp.common declared as Session Modifier and Type Field Description private SessionScpHelper. sessionInstanceMethods in org.apache.sshd.scp.common that return Session Modifier and Type Method Description SessionScpHelper. getSession()Methods in org.apache.sshd.scp.common with parameters of type Session Modifier and Type Method Description default voidScpFileOpener. closeRead(Session session, java.nio.file.Path file, long size, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.io.InputStream stream)Called when the stream obtained fromopenReadis no longer required since data has been successfully copied.default voidScpSourceStreamResolver. closeSourceStream(Session session, long fileSize, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.io.InputStream stream)Called when the stream obtained fromresolveSourceStreamis no longer needed since since file copy was completed successfully.default voidScpTargetStreamResolver. closeTargetStream(Session session, java.lang.String name, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.io.OutputStream stream)Called when target stream received fromresolveTargetStreamcall is no longer needed since copy is successfully completed.default voidScpFileOpener. closeWrite(Session session, java.nio.file.Path file, long size, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.io.OutputStream os)Called when output stream obtained fromopenWriteis no longer needed since data copying has been successfully completed.ScpSourceStreamResolverScpFileOpener. createScpSourceStreamResolver(Session session, java.nio.file.Path path)ScpTargetStreamResolverScpFileOpener. createScpTargetStreamResolver(Session session, java.nio.file.Path path)voidAbstractScpTransferEventListenerAdapter. endFileEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown)default voidScpTransferEventListener. endFileEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown)voidAbstractScpTransferEventListenerAdapter. endFolderEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown)default voidScpTransferEventListener. endFolderEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.lang.Throwable thrown)default java.nio.file.attribute.BasicFileAttributesScpFileOpener. getLocalBasicFileAttributes(Session session, java.nio.file.Path path, java.nio.file.LinkOption... options)default java.util.Set<java.nio.file.attribute.PosixFilePermission>ScpFileOpener. getLocalFilePermissions(Session session, java.nio.file.Path path, java.nio.file.LinkOption... options)default java.nio.file.DirectoryStream<java.nio.file.Path>ScpFileOpener. getLocalFolderChildren(Session session, java.nio.file.Path path)Invoked when required to send all children of a local directorydefault java.lang.Iterable<java.nio.file.Path>ScpFileOpener. getMatchingFilesToSend(Session session, java.nio.file.Path basedir, java.lang.String pattern)Invoked when required to send a pattern of filesdefault voidScpTransferEventListener. handleFileEventAckInfo(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.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 readjava.io.InputStreamScpFileOpener. openRead(Session session, java.nio.file.Path file, long size, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options)Create an input stream to read from a filejava.io.OutputStreamScpFileOpener. openWrite(Session session, java.nio.file.Path file, long size, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options)Create an output stream to write to a filevoidScpReceiveLineHandler. process(Session session, java.lang.String line, boolean isDir, ScpTimestampCommandDetails time)default java.nio.file.PathScpFileOpener. resolveIncomingFilePath(Session session, java.nio.file.Path localPath, java.lang.String name, boolean preserve, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, ScpTimestampCommandDetails time)Invoked when receiving a new file to via a directory commanddefault java.nio.file.PathScpFileOpener. resolveIncomingReceiveLocation(Session session, java.nio.file.Path path, boolean recursive, boolean shouldBeDir, boolean preserve)Invoked when a request to receive something is processeddefault java.nio.file.PathScpFileOpener. resolveLocalPath(Session session, java.nio.file.FileSystem fileSystem, java.lang.String commandPath)default java.nio.file.PathScpFileOpener. resolveOutgoingFilePath(Session session, java.nio.file.Path localPath, java.nio.file.LinkOption... options)Called when there is a candidate file/folder for sendingjava.io.InputStreamScpSourceStreamResolver. resolveSourceStream(Session session, long fileSize, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options)java.io.OutputStreamScpTargetStreamResolver. resolveTargetStream(Session session, java.lang.String name, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.nio.file.OpenOption... options)Called when receiving a file in order to obtain an output stream for the incoming datadefault booleanScpFileOpener. sendAsDirectory(Session session, java.nio.file.Path path, java.nio.file.LinkOption... options)Invoked on a local path in order to decide whether it should be sent as a file or as a directorydefault booleanScpFileOpener. sendAsRegularFile(Session session, java.nio.file.Path path, java.nio.file.LinkOption... options)Invoked on a local path in order to decide whether it should be sent as a file or as a directoryvoidAbstractScpTransferEventListenerAdapter. startFileEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms)default voidScpTransferEventListener. startFileEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms)voidAbstractScpTransferEventListenerAdapter. startFolderEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms)default voidScpTransferEventListener. startFolderEvent(Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms)protected voidScpHelper. validateFileOperationAckReplyCode(java.lang.String command, Session session, ScpTransferEventListener.FileOperation op, java.nio.file.Path file, long fileSize, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, ScpAckInfo ackInfo)Constructors in org.apache.sshd.scp.common with parameters of type Session Constructor Description ScpHelper(Session session, java.io.InputStream in, java.io.OutputStream out, java.nio.file.FileSystem fileSystem, ScpFileOpener opener, ScpTransferEventListener eventListener)ScpHelper(Session session, java.io.InputStream in, java.nio.charset.Charset csIn, java.io.OutputStream out, java.nio.charset.Charset csOut, java.nio.file.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 Session Modifier and Type Method Description voidLocalFileScpSourceStreamResolver. closeSourceStream(Session session, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.io.InputStream stream)voidLocalFileScpTargetStreamResolver. closeTargetStream(Session session, java.lang.String name, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.io.OutputStream stream)ScpSourceStreamResolverDefaultScpFileOpener. createScpSourceStreamResolver(Session session, java.nio.file.Path path)ScpTargetStreamResolverDefaultScpFileOpener. createScpTargetStreamResolver(Session session, java.nio.file.Path path)java.io.InputStreamDefaultScpFileOpener. openRead(Session session, java.nio.file.Path file, long size, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options)java.io.OutputStreamDefaultScpFileOpener. openWrite(Session session, java.nio.file.Path file, long size, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options)protected java.nio.file.OpenOption[]DefaultScpFileOpener. resolveOpenOptions(Session session, java.nio.file.Path file, long size, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options)java.io.InputStreamLocalFileScpSourceStreamResolver. resolveSourceStream(Session session, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions, java.nio.file.OpenOption... options)java.io.OutputStreamLocalFileScpTargetStreamResolver. resolveTargetStream(Session session, java.lang.String name, long length, java.util.Set<java.nio.file.attribute.PosixFilePermission> perms, java.nio.file.OpenOption... options) -
Uses of Session in org.apache.sshd.server.channel
Methods in org.apache.sshd.server.channel with parameters of type Session Modifier and Type Method Description ChannelChannelSessionFactory. createChannel(Session session)static booleanPuttyRequestHandler. isPuttyClient(Session session) -
Uses of Session in org.apache.sshd.server.forward
Methods in org.apache.sshd.server.forward with parameters of type Session Modifier and Type Method Description booleanStaticDecisionForwardingFilter. canConnect(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session)booleanTcpForwardingFilter. canConnect(TcpForwardingFilter.Type type, SshdSocketAddress address, Session session)Determine if the session may create an outbound connection.booleanAgentForwardingFilter. canForwardAgent(Session session, java.lang.String requestType)Determine if the session may arrange for agent forwarding.booleanStaticDecisionForwardingFilter. canForwardAgent(Session session, java.lang.String requestType)booleanStaticDecisionForwardingFilter. canForwardX11(Session session, java.lang.String requestType)booleanX11ForwardingFilter. canForwardX11(Session session, java.lang.String requestType)Determine if the session may arrange for X11 forwarding.booleanStaticDecisionForwardingFilter. canListen(SshdSocketAddress address, Session session)booleanTcpForwardingFilter. canListen(SshdSocketAddress address, Session session)Determine if the session may listen for inbound connections.protected booleanStaticDecisionForwardingFilter. checkAcceptance(java.lang.String request, Session session, SshdSocketAddress target)ChannelTcpipServerChannel.TcpipFactory. createChannel(Session session) -
Uses of Session in org.apache.sshd.server.global
Methods in org.apache.sshd.server.global with parameters of type Session Modifier and Type Method Description protected RequestHandler.ResultOpenSshHostKeysHandler. handleHostKeys(Session session, java.util.Collection<? extends java.security.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 Session Constructor Description AbstractDHServerKeyExchange(Session s)DHGEXServer(DHFactory factory, Session session)DHGServer(DHFactory factory, Session session) -
Uses of Session in org.apache.sshd.server.session
Subinterfaces of Session in org.apache.sshd.server.session Modifier and Type Interface Description interfaceServerSessionClasses in org.apache.sshd.server.session that implement Session Modifier and Type Class Description classAbstractServerSessionProvides default implementations forServerSessionrelated methodsclassServerSessionImplThe default implementation for aServerSessionMethods in org.apache.sshd.server.session with parameters of type Session Modifier and Type Method Description ServiceServerConnectionServiceFactory. create(Session session)ServiceServerUserAuthServiceFactory. create(Session session)Constructors in org.apache.sshd.server.session with parameters of type Session Constructor Description ServerUserAuthService(Session s) -
Uses of Session in org.apache.sshd.sftp.client.impl
Methods in org.apache.sshd.sftp.client.impl with parameters of type Session Modifier and Type Method Description protected ChannelAsyncOutputStreamDefaultSftpClient.SftpChannelSubsystem. createAsyncInput(Session session)protected java.io.OutputStreamDefaultSftpClient.SftpChannelSubsystem. createErrOutputStream(Session session)protected java.io.OutputStreamDefaultSftpClient.SftpChannelSubsystem. createStdOutputStream(Session session)
-