Modifier and Type | Method and Description |
---|---|
protected SshAgentServer |
DefaultAgentForwardSupport.createSshAgentServer(ConnectionService service,
Session session) |
Modifier and Type | Method and Description |
---|---|
protected RequestHandler.Result |
OpenSshHostKeysHandler.handleHostKeys(Session session,
Collection<? extends PublicKey> keys,
boolean wantReply,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
DHGClient.init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c) |
void |
DHGEXClient.init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c) |
void |
AbstractDHClientKeyExchange.init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c) |
Modifier and Type | Method and Description |
---|---|
InputStream |
DefaultScpStreamResolver.resolveSourceStream(Session session,
OpenOption... options) |
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 |
---|---|
Session |
Service.getSession() |
Modifier and Type | Method and Description |
---|---|
static 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.
|
Service |
ServiceFactory.create(Session session) |
Modifier and Type | Interface and Description |
---|---|
interface |
UserAuthInstance<S extends Session>
Represents an authentication-in-progress tracker for a specific session
|
Modifier and Type | Method and Description |
---|---|
Session |
Channel.getSession() |
Session |
AbstractChannel.getSession() |
Modifier and Type | Method and Description |
---|---|
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 | Method and Description |
---|---|
FileSystem |
FileSystemFactory.createFileSystem(Session session)
Create user specific file system.
|
Modifier and Type | Method and Description |
---|---|
FileSystem |
NativeFileSystemFactory.createFileSystem(Session session) |
Modifier and Type | Method and Description |
---|---|
protected Path |
VirtualFileSystemFactory.computeRootDir(Session session) |
FileSystem |
VirtualFileSystemFactory.createFileSystem(Session session) |
Modifier and Type | Method and Description |
---|---|
Session |
DefaultForwardingFilter.getSession() |
Modifier and Type | Method and Description |
---|---|
default void |
PortForwardingEventListener.establishedDynamicTunnel(Session session,
SshdSocketAddress local,
SshdSocketAddress boundAddress,
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,
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,
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,
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,
Collection<? extends PublicKey> keys,
boolean wantReply,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
KeyExchange.init(Session session,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c)
Initialize the key exchange algorithm.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDHKeyExchange.init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c) |
Modifier and Type | Method and Description |
---|---|
Session |
ScpHelper.getSession() |
Modifier and Type | Method and Description |
---|---|
InputStream |
ScpFileOpener.openRead(Session session,
Path file,
OpenOption... options)
Create an input stream to read from a file
|
OutputStream |
ScpFileOpener.openWrite(Session session,
Path file,
OpenOption... options)
Create an output stream to write to a file
|
InputStream |
ScpSourceStreamResolver.resolveSourceStream(Session session,
OpenOption... options) |
OutputStream |
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 data
|
Constructor and Description |
---|
ScpHelper(Session session,
InputStream in,
OutputStream out,
FileSystem fileSystem,
ScpFileOpener opener,
ScpTransferEventListener eventListener) |
Modifier and Type | Method and Description |
---|---|
InputStream |
DefaultScpFileOpener.openRead(Session session,
Path file,
OpenOption... options) |
OutputStream |
DefaultScpFileOpener.openWrite(Session session,
Path file,
OpenOption... options) |
InputStream |
LocalFileScpSourceStreamResolver.resolveSourceStream(Session session,
OpenOption... options) |
OutputStream |
LocalFileScpTargetStreamResolver.resolveTargetStream(Session session,
String name,
long length,
Set<PosixFilePermission> perms,
OpenOption... options) |
Modifier and Type | Interface and Description |
---|---|
interface |
SessionHolder<S extends Session> |
Modifier and Type | Method and Description |
---|---|
Session |
SessionWorkBuffer.getSession() |
Modifier and Type | Method and Description |
---|---|
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 void |
ReservedSessionMessagesHandler.handleUnimplementedMessage(Session session,
Buffer buffer)
Invoked when an
SSH_MSG_UNIMPLEMENTED packet is received |
static <T> T |
Session.resolveAttribute(Session session,
AttributeStore.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.sessionEvent(Session session,
SessionListener.Event event)
An event has been triggered
|
default 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 handling
|
default void |
SessionListener.sessionNegotiationStart(Session session,
Map<KexProposalOption,String> clientProposal,
Map<KexProposalOption,String> serverProposal)
Signals the start of the negotiation options handling
|
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.
|
Modifier and Type | Method and Description |
---|---|
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,
Buffer buffer) |
void |
ReservedSessionMessagesHandlerAdapter.handleIgnoreMessage(Session session,
byte[] data,
Buffer buffer) |
void |
ReservedSessionMessagesHandlerAdapter.handleUnimplementedMessage(Session session,
Buffer buffer) |
void |
ReservedSessionMessagesHandlerAdapter.handleUnimplementedMessage(Session session,
Buffer buffer,
long seqNo) |
void |
SessionTimeoutListener.sessionClosed(Session s) |
void |
SessionTimeoutListener.sessionCreated(Session session) |
void |
SessionTimeoutListener.sessionEvent(Session session,
SessionListener.Event event) |
void |
SessionTimeoutListener.sessionException(Session session,
Throwable t) |
Modifier and Type | Field and Description |
---|---|
protected Map<Session,Map<PublicKey,Boolean>> |
CachingPublicKeyAuthenticator.cache |
Modifier and Type | Method and Description |
---|---|
void |
CachingPublicKeyAuthenticator.sessionClosed(Session session) |
void |
CachingPublicKeyAuthenticator.sessionCreated(Session session) |
void |
CachingPublicKeyAuthenticator.sessionEvent(Session session,
SessionListener.Event event) |
void |
CachingPublicKeyAuthenticator.sessionException(Session session,
Throwable t) |
Modifier and Type | Method and Description |
---|---|
static boolean |
PuttyRequestHandler.isPuttyClient(Session session) |
Modifier and Type | Method and Description |
---|---|
Session |
AbstractCommandSupport.getSession() |
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 |
AgentForwardingFilter.canForwardAgent(Session session,
String requestType)
Determine if the session may arrange for agent forwarding.
|
boolean |
StaticDecisionForwardingFilter.canForwardAgent(Session session,
String requestType) |
boolean |
X11ForwardingFilter.canForwardX11(Session session,
String requestType)
Determine if the session may arrange for X11 forwarding.
|
boolean |
StaticDecisionForwardingFilter.canForwardX11(Session session,
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(String request,
Session session,
SshdSocketAddress target) |
Modifier and Type | Method and Description |
---|---|
protected RequestHandler.Result |
OpenSshHostKeysHandler.handleHostKeys(Session session,
Collection<? extends PublicKey> keys,
boolean wantReply,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
DHGEXServer.init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c) |
void |
DHGServer.init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c) |
void |
AbstractDHServerKeyExchange.init(Session s,
byte[] v_s,
byte[] v_c,
byte[] i_s,
byte[] i_c) |
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 |
ServerConnectionServiceFactory.create(Session session) |
Service |
ServerUserAuthServiceFactory.create(Session session) |
Constructor and Description |
---|
ServerUserAuthService(Session s) |
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.