Package | Description |
---|---|
org.apache.sshd |
Defines the two main classes for the client and server side of SSH protocol support.
|
org.apache.sshd.agent | |
org.apache.sshd.agent.local | |
org.apache.sshd.agent.unix | |
org.apache.sshd.client.session | |
org.apache.sshd.common | |
org.apache.sshd.common.channel | |
org.apache.sshd.common.file | |
org.apache.sshd.common.file.nativefs | |
org.apache.sshd.common.forward | |
org.apache.sshd.common.session | |
org.apache.sshd.server.session | |
org.apache.sshd.sftp | |
org.apache.sshd.sftp.subsystem |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientSession
An authenticated session to a given SSH server
A client session is established using the
SshClient . |
Modifier and Type | Method and Description |
---|---|
SshAgent |
SshAgentFactory.createClient(Session session)
Create an SshAgent that can be used on the client side by the authentication
process to send possible keys.
|
SshAgentServer |
SshAgentFactory.createServer(Session session)
Create the server side that will be used by other SSH clients.
|
Modifier and Type | Method and Description |
---|---|
SshAgent |
LocalAgentFactory.createClient(Session session) |
SshAgent |
ProxyAgentFactory.createClient(Session session) |
SshAgentServer |
LocalAgentFactory.createServer(Session session) |
SshAgentServer |
ProxyAgentFactory.createServer(Session session) |
Modifier and Type | Method and Description |
---|---|
SshAgent |
UnixAgentFactory.createClient(Session session) |
SshAgentServer |
UnixAgentFactory.createServer(Session session) |
Modifier and Type | Class and Description |
---|---|
class |
ClientSessionImpl
TODO Add javadoc
|
Modifier and Type | Method and Description |
---|---|
Session |
Channel.getSession() |
Modifier and Type | Method and Description |
---|---|
boolean |
ForwardingFilter.canConnect(SshdSocketAddress address,
Session session)
Determine if the session may create an outbound connection.
|
boolean |
ForwardingFilter.canForwardAgent(Session session)
Determine if the session may arrange for agent forwarding.
|
boolean |
ForwardingFilter.canForwardX11(Session session)
Determine if the session may arrange for X11 forwarding.
|
boolean |
ForwardingFilter.canListen(SshdSocketAddress address,
Session session)
Determine if the session may listen for inbound connections.
|
TcpipForwarder |
TcpipForwarderFactory.create(Session session)
Creates the TcpipForwarder to be used for TCP/IP port forwards for
this ClientSession.
|
void |
Channel.init(Session session,
int id) |
void |
SessionListener.sessionChanged(Session session)
A session state has changed
|
void |
SessionListener.sessionClosed(Session session)
A session has been closed
|
void |
SessionListener.sessionCreated(Session session)
A new session just been created
|
Modifier and Type | Field and Description |
---|---|
protected Session |
AbstractChannel.session |
Modifier and Type | Method and Description |
---|---|
Session |
AbstractChannel.getSession() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractChannel.init(Session session,
int id) |
Modifier and Type | Method and Description |
---|---|
FileSystemView |
FileSystemFactory.createFileSystemView(Session session)
Create user specific file system view.
|
Modifier and Type | Method and Description |
---|---|
FileSystemView |
NativeFileSystemFactory.createFileSystemView(Session session)
Create the appropriate user file system view.
|
Modifier and Type | Method and Description |
---|---|
TcpipForwarder |
DefaultTcpipForwarderFactory.create(Session session) |
Constructor and Description |
---|
DefaultTcpipForwarder(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 | Class and Description |
---|---|
class |
ServerSession
TODO: handle key re-exchange
key re-exchange should be performed after each gigabyte of transferred data
or one hour time connection (see RFC4253, section 9)
TODO: better use of SSH_MSG_DISCONNECT and disconnect error codes
TODO Add javadoc
|
Modifier and Type | Method and Description |
---|---|
Session |
SftpSession.getSession() |
Modifier and Type | Method and Description |
---|---|
Session |
SftpSubsystem.getSession() |
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.