Modifier and Type | Method and Description |
---|---|
protected SshAgentServer |
DefaultAgentForwardSupport.createSshAgentServer(ConnectionService service,
Session session) |
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelAgentForwardingFactory.createChannel(Session session) |
Modifier and Type | Method and Description |
---|---|
protected RequestHandler.Result |
OpenSshHostKeysHandler.handleHostKeys(Session session,
java.util.Collection<? extends java.security.PublicKey> keys,
boolean wantReply,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
protected void |
DHGClient.verifyCertificate(Session session,
OpenSshCertificate openSshKey) |
Constructor and Description |
---|
AbstractDHClientKeyExchange(Session session) |
DHGClient(DHFactory factory,
Session session) |
DHGEXClient(DHFactory factory,
Session session) |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientSession
An authenticated session to a given SSH server.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractClientSession
Provides default implementations of
ClientSession related methods |
class |
ClientSessionImpl
The default implementation of a
ClientSession |
Modifier and Type | Method and Description |
---|---|
Service |
ClientUserAuthServiceFactory.create(Session session) |
Service |
ClientConnectionServiceFactory.create(Session session) |
Constructor and Description |
---|
ClientUserAuthService(Session s) |
Modifier and Type | Method and Description |
---|---|
static Service |
ServiceFactory.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.
|
Service |
ServiceFactory.create(Session session) |
Modifier and Type | Field and Description |
---|---|
private Session |
AbstractChannel.sessionInstance |
Modifier and Type | Method and Description |
---|---|
Session |
AbstractChannel.getSession() |
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelFactory.createChannel(Session session) |
static Channel |
ChannelFactory.createChannel(Session session,
java.util.Collection<? extends ChannelFactory> factories,
java.lang.String name) |
void |
Channel.init(ConnectionService service,
Session session,
int id)
Invoked when the local channel is initial created
|
void |
AbstractChannel.init(ConnectionService service,
Session session,
int id) |
Modifier and Type | Field and Description |
---|---|
private Session |
DefaultForwarder.sessionInstance |
Modifier and Type | Method and Description |
---|---|
Session |
DefaultForwarder.getSession() |
Modifier and Type | Method and Description |
---|---|
default void |
PortForwardingEventListener.establishedDynamicTunnel(Session session,
SshdSocketAddress local,
SshdSocketAddress boundAddress,
java.lang.Throwable reason)
Signals a successful/failed attempt to establish a dynamic port forwarding
|
default void |
PortForwardingEventListener.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 forwarding
|
default void |
PortForwardingEventListener.establishingDynamicTunnel(Session session,
SshdSocketAddress local)
Signals the attempt to establish a dynamic port forwarding
|
default void |
PortForwardingEventListener.establishingExplicitTunnel(Session session,
SshdSocketAddress local,
SshdSocketAddress remote,
boolean localForwarding)
Signals the attempt to establish a local/remote port forwarding
|
default void |
PortForwardingEventListener.tearingDownDynamicTunnel(Session session,
SshdSocketAddress address)
Signals a request to tear down a dynamic forwarding
|
default void |
PortForwardingEventListener.tearingDownExplicitTunnel(Session session,
SshdSocketAddress address,
boolean localForwarding,
SshdSocketAddress remoteAddress)
Signals a request to tear down a local/remote port forwarding
|
default void |
PortForwardingEventListener.tornDownDynamicTunnel(Session session,
SshdSocketAddress address,
java.lang.Throwable reason)
Signals a successful/failed request to tear down a dynamic port forwarding
|
default void |
PortForwardingEventListener.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
|
Modifier and Type | Method and Description |
---|---|
protected abstract RequestHandler.Result |
AbstractOpenSshHostKeysHandler.handleHostKeys(Session session,
java.util.Collection<? extends java.security.PublicKey> keys,
boolean wantReply,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
KeyExchange |
KeyExchangeFactory.createKeyExchange(Session session) |
Modifier and Type | Field and Description |
---|---|
private Session |
AbstractDHKeyExchange.session |
Modifier and Type | Method and Description |
---|---|
Session |
AbstractDHKeyExchange.getSession() |
Constructor and Description |
---|
AbstractDHKeyExchange(Session session) |
Modifier and Type | Method and Description |
---|---|
default boolean |
KexExtensionHandler.handleKexCompressionMessage(Session session,
Buffer buffer)
Parses the
SSH_MSG_NEWCOMPRESS message. |
default void |
KexExtensionHandler.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.
|
default boolean |
KexExtensionHandler.handleKexExtensionRequest(Session session,
int index,
int count,
java.lang.String name,
byte[] data)
Invoked by
KexExtensionHandler.handleKexExtensionsMessage(Session, Buffer) in order to handle a specific extension. |
boolean |
DefaultClientKexExtensionHandler.handleKexExtensionRequest(Session session,
int index,
int count,
java.lang.String name,
byte[] data) |
default boolean |
KexExtensionHandler.handleKexExtensionsMessage(Session session,
Buffer buffer)
Parses the
SSH_MSG_EXT_INFO message. |
default void |
KexExtensionHandler.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.
|
void |
DefaultClientKexExtensionHandler.handleKexInitProposal(Session session,
boolean initiator,
java.util.Map<KexProposalOption,java.lang.String> proposal) |
default boolean |
KexExtensionHandler.isKexExtensionsAvailable(Session session,
KexExtensionHandler.AvailabilityPhase phase) |
boolean |
DefaultClientKexExtensionHandler.isKexExtensionsAvailable(Session session,
KexExtensionHandler.AvailabilityPhase phase) |
int |
DefaultClientKexExtensionHandler.resolvePreferredSignaturePosition(Session session,
java.util.List<? extends NamedFactory<Signature>> factories,
NamedFactory<Signature> factory) |
java.util.List<NamedFactory<Signature>> |
DefaultClientKexExtensionHandler.resolveRequestedSignatureFactories(Session session,
java.util.Collection<java.lang.String> extraAlgos) |
NamedFactory<Signature> |
DefaultClientKexExtensionHandler.resolveRequestedSignatureFactory(Session session,
java.lang.String name) |
java.util.List<NamedFactory<Signature>> |
DefaultClientKexExtensionHandler.resolveUpdatedSignatureFactories(Session session,
java.util.List<NamedFactory<Signature>> available,
java.util.Collection<java.lang.String> extraAlgos)
Checks if the extra signature algorithms are already included in the available ones, and adds the extra ones (if
supported).
|
default void |
KexExtensionHandler.sendKexExtensions(Session session,
KexExtensionHandler.KexPhase phase)
Invoked in order to allow the handler to send an
SSH_MSG_EXT_INFO message. |
java.util.List<NamedFactory<Signature>> |
DefaultClientKexExtensionHandler.updateAvailableSignatureFactories(Session session,
java.util.Collection<java.lang.String> extraAlgos) |
java.util.List<NamedFactory<Signature>> |
DefaultClientKexExtensionHandler.updateAvailableSignatureFactories(Session session,
java.util.List<NamedFactory<Signature>> available,
java.util.Collection<? extends NamedFactory<Signature>> toAdd) |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionHolder<S extends Session> |
Modifier and Type | Field and Description |
---|---|
private Session |
SessionWorkBuffer.session |
Modifier and Type | Method and Description |
---|---|
Session |
SessionWorkBuffer.getSession() |
Modifier and Type | Method and Description |
---|---|
default boolean |
SessionDisconnectHandler.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 allowed
|
default boolean |
SessionDisconnectHandler.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 void |
ReservedSessionMessagesHandler.handleDebugMessage(Session session,
Buffer buffer)
Invoked when an
SSH_MSG_DEBUG packet is received |
default void |
ReservedSessionMessagesHandler.handleIgnoreMessage(Session session,
Buffer buffer)
Invoked when an
SSH_MSG_IGNORE packet is received |
default boolean |
SessionDisconnectHandler.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 boolean |
SessionDisconnectHandler.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 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 - including
SSH_MSG_UNIMPLEMENTED itself |
default boolean |
SessionDisconnectHandler.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> T |
Session.resolveAttribute(Session session,
AttributeRepository.AttributeKey<T> key)
Attempts to use the session's attribute, if not found then tries the factory manager
|
default void |
SessionListener.sessionClosed(Session session)
A session has been closed
|
default void |
SessionListener.sessionCreated(Session session)
A new session just been created
|
default void |
SessionListener.sessionDisconnect(Session session,
int reason,
java.lang.String msg,
java.lang.String language,
boolean initiator)
Invoked when
SSH_MSG_DISCONNECT message was sent/received |
default void |
SessionListener.sessionEstablished(Session session)
An initial session connection has been established - Caveat emptor: the main difference between this
callback and
SessionListener.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 triggered
|
default void |
SessionListener.sessionException(Session session,
java.lang.Throwable t)
An exception was caught and the session will be closed (if not already so).
|
default void |
SessionListener.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 handling
|
default void |
SessionListener.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 handling
|
default void |
SessionListener.sessionPeerIdentificationReceived(Session session,
java.lang.String version,
java.util.List<java.lang.String> extraLines)
The peer's identification version was received
|
Constructor and Description |
---|
SessionWorkBuffer(Session session) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSession
The AbstractSession handles all the basic SSH protocol such as key exchange, authentication, encoding and decoding.
|
class |
SessionHelper
Contains split code in order to make
AbstractSession class smaller |
Modifier and Type | Method and Description |
---|---|
protected AgentForwardSupport |
AbstractConnectionService.createAgentForwardSupport(Session session) |
protected Forwarder |
AbstractConnectionService.createForwardingFilter(Session session) |
protected X11ForwardSupport |
AbstractConnectionService.createX11ForwardSupport(Session session) |
void |
ReservedSessionMessagesHandlerAdapter.handleDebugMessage(Session session,
boolean display,
java.lang.String msg,
java.lang.String lang,
Buffer buffer) |
void |
ReservedSessionMessagesHandlerAdapter.handleDebugMessage(Session session,
Buffer buffer) |
void |
ReservedSessionMessagesHandlerAdapter.handleIgnoreMessage(Session session,
Buffer buffer) |
void |
ReservedSessionMessagesHandlerAdapter.handleIgnoreMessage(Session session,
byte[] data,
Buffer buffer) |
boolean |
ReservedSessionMessagesHandlerAdapter.handleUnimplementedMessage(Session session,
int cmd,
Buffer buffer) |
void |
SessionTimeoutListener.sessionClosed(Session s) |
void |
SessionTimeoutListener.sessionCreated(Session session) |
void |
SessionTimeoutListener.sessionException(Session session,
java.lang.Throwable t) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
DefaultScpStreamResolver.resolveSourceStream(Session session,
long length,
java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions,
java.nio.file.OpenOption... options) |
Modifier and Type | Field and Description |
---|---|
private Session |
ScpHelper.sessionInstance |
Modifier and Type | Method and Description |
---|---|
Session |
ScpHelper.getSession() |
Modifier and Type | Method and Description |
---|---|
default void |
ScpFileOpener.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 from
openRead is no
longer required since data has been successfully copied. |
default void |
ScpSourceStreamResolver.closeSourceStream(Session session,
long fileSize,
java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions,
java.io.InputStream stream)
Called when the stream obtained from
resolveSourceStream is no longer needed since since file copy was completed successfully. |
default void |
ScpTargetStreamResolver.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 from
resolveTargetStream call is no longer needed since copy is successfully completed. |
default void |
ScpFileOpener.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 from
openWrite is
no longer needed since data copying has been successfully completed. |
ScpSourceStreamResolver |
ScpFileOpener.createScpSourceStreamResolver(Session session,
java.nio.file.Path path) |
ScpTargetStreamResolver |
ScpFileOpener.createScpTargetStreamResolver(Session session,
java.nio.file.Path path) |
default void |
ScpTransferEventListener.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) |
void |
AbstractScpTransferEventListenerAdapter.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 void |
ScpTransferEventListener.endFolderEvent(Session session,
ScpTransferEventListener.FileOperation op,
java.nio.file.Path file,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms,
java.lang.Throwable thrown) |
void |
AbstractScpTransferEventListenerAdapter.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.BasicFileAttributes |
ScpFileOpener.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 directory
|
default 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 files
|
default void |
ScpTransferEventListener.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 after
ScpTransferEventListener.endFileEvent(Session, FileOperation, Path, long, Set, Throwable) if no exception was thrown
and the peer's ACK was successfully read |
java.io.InputStream |
ScpFileOpener.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 file
|
java.io.OutputStream |
ScpFileOpener.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 file
|
void |
ScpReceiveLineHandler.process(Session session,
java.lang.String line,
boolean isDir,
ScpTimestampCommandDetails time) |
default java.nio.file.Path |
ScpFileOpener.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 command
|
default java.nio.file.Path |
ScpFileOpener.resolveIncomingReceiveLocation(Session session,
java.nio.file.Path path,
boolean recursive,
boolean shouldBeDir,
boolean preserve)
Invoked when a request to receive something is processed
|
default java.nio.file.Path |
ScpFileOpener.resolveLocalPath(Session session,
java.nio.file.FileSystem fileSystem,
java.lang.String commandPath) |
default java.nio.file.Path |
ScpFileOpener.resolveOutgoingFilePath(Session session,
java.nio.file.Path localPath,
java.nio.file.LinkOption... options)
Called when there is a candidate file/folder for sending
|
java.io.InputStream |
ScpSourceStreamResolver.resolveSourceStream(Session session,
long fileSize,
java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions,
java.nio.file.OpenOption... options) |
java.io.OutputStream |
ScpTargetStreamResolver.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 data
|
default boolean |
ScpFileOpener.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 directory
|
default boolean |
ScpFileOpener.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 directory
|
default void |
ScpTransferEventListener.startFileEvent(Session session,
ScpTransferEventListener.FileOperation op,
java.nio.file.Path file,
long length,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms) |
void |
AbstractScpTransferEventListenerAdapter.startFileEvent(Session session,
ScpTransferEventListener.FileOperation op,
java.nio.file.Path file,
long length,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms) |
default void |
ScpTransferEventListener.startFolderEvent(Session session,
ScpTransferEventListener.FileOperation op,
java.nio.file.Path file,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms) |
void |
AbstractScpTransferEventListenerAdapter.startFolderEvent(Session session,
ScpTransferEventListener.FileOperation op,
java.nio.file.Path file,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms) |
protected void |
ScpHelper.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) |
Constructor and Description |
---|
ScpHelper(Session session,
java.io.InputStream in,
java.io.OutputStream out,
java.nio.file.FileSystem fileSystem,
ScpFileOpener opener,
ScpTransferEventListener eventListener) |
Modifier and Type | Method and Description |
---|---|
void |
LocalFileScpSourceStreamResolver.closeSourceStream(Session session,
long length,
java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions,
java.io.InputStream stream) |
void |
LocalFileScpTargetStreamResolver.closeTargetStream(Session session,
java.lang.String name,
long length,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms,
java.io.OutputStream stream) |
ScpSourceStreamResolver |
DefaultScpFileOpener.createScpSourceStreamResolver(Session session,
java.nio.file.Path path) |
ScpTargetStreamResolver |
DefaultScpFileOpener.createScpTargetStreamResolver(Session session,
java.nio.file.Path path) |
java.io.InputStream |
DefaultScpFileOpener.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.OutputStream |
DefaultScpFileOpener.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.InputStream |
LocalFileScpSourceStreamResolver.resolveSourceStream(Session session,
long length,
java.util.Set<java.nio.file.attribute.PosixFilePermission> permissions,
java.nio.file.OpenOption... options) |
java.io.OutputStream |
LocalFileScpTargetStreamResolver.resolveTargetStream(Session session,
java.lang.String name,
long length,
java.util.Set<java.nio.file.attribute.PosixFilePermission> perms,
java.nio.file.OpenOption... options) |
Modifier and Type | Method and Description |
---|---|
Channel |
ChannelSessionFactory.createChannel(Session session) |
static boolean |
PuttyRequestHandler.isPuttyClient(Session session) |
Modifier and Type | Method and Description |
---|---|
boolean |
TcpForwardingFilter.canConnect(TcpForwardingFilter.Type type,
SshdSocketAddress address,
Session session)
Determine if the session may create an outbound connection.
|
boolean |
StaticDecisionForwardingFilter.canConnect(TcpForwardingFilter.Type type,
SshdSocketAddress address,
Session session) |
boolean |
StaticDecisionForwardingFilter.canForwardAgent(Session session,
java.lang.String requestType) |
boolean |
AgentForwardingFilter.canForwardAgent(Session session,
java.lang.String requestType)
Determine if the session may arrange for agent forwarding.
|
boolean |
X11ForwardingFilter.canForwardX11(Session session,
java.lang.String requestType)
Determine if the session may arrange for X11 forwarding.
|
boolean |
StaticDecisionForwardingFilter.canForwardX11(Session session,
java.lang.String requestType) |
boolean |
TcpForwardingFilter.canListen(SshdSocketAddress address,
Session session)
Determine if the session may listen for inbound connections.
|
boolean |
StaticDecisionForwardingFilter.canListen(SshdSocketAddress address,
Session session) |
protected boolean |
StaticDecisionForwardingFilter.checkAcceptance(java.lang.String request,
Session session,
SshdSocketAddress target) |
Channel |
TcpipServerChannel.TcpipFactory.createChannel(Session session) |
Modifier and Type | Method and Description |
---|---|
protected RequestHandler.Result |
OpenSshHostKeysHandler.handleHostKeys(Session session,
java.util.Collection<? extends java.security.PublicKey> keys,
boolean wantReply,
Buffer buffer) |
Constructor and Description |
---|
AbstractDHServerKeyExchange(Session s) |
DHGEXServer(DHFactory factory,
Session session) |
DHGServer(DHFactory factory,
Session session) |
Modifier and Type | Interface and Description |
---|---|
interface |
ServerSession |
Modifier and Type | Class and Description |
---|---|
class |
AbstractServerSession
Provides default implementations for
ServerSession related methods |
class |
ServerSessionImpl
The default implementation for a
ServerSession |
Modifier and Type | Method and Description |
---|---|
Service |
ServerUserAuthServiceFactory.create(Session session) |
Service |
ServerConnectionServiceFactory.create(Session session) |
Constructor and Description |
---|
ServerUserAuthService(Session s) |
Modifier and Type | Method and Description |
---|---|
protected ChannelAsyncOutputStream |
DefaultSftpClient.SftpChannelSubsystem.createAsyncInput(Session session) |
protected java.io.OutputStream |
DefaultSftpClient.SftpChannelSubsystem.createErrOutputStream(Session session) |
protected java.io.OutputStream |
DefaultSftpClient.SftpChannelSubsystem.createStdOutputStream(Session session) |