Package | Description |
---|---|
org.apache.sshd |
Defines the two main classes for the client and server side of SSH protocol support.
|
org.apache.sshd.client.channel | |
org.apache.sshd.client.session | |
org.apache.sshd.common | |
org.apache.sshd.common.forward |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
ClientSession.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
ClientSession.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local)
Start forwarding tcpip from the given address on the server to the
given address on the client.
|
Modifier and Type | Method and Description |
---|---|
ChannelDirectTcpip |
ClientSession.createDirectTcpipChannel(SshdSocketAddress local,
SshdSocketAddress remote)
Create a direct tcp-ip channel which can be used to stream data to a remote port from the server.
|
SshdSocketAddress |
ClientSession.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
ClientSession.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local)
Start forwarding tcpip from the given address on the server to the
given address on the client.
|
void |
ClientSession.stopLocalPortForwarding(SshdSocketAddress local)
Stop forwarding the given local address.
|
void |
ClientSession.stopRemotePortForwarding(SshdSocketAddress remote)
Stop forwarding of the given remote address.
|
Constructor and Description |
---|
ChannelDirectTcpip(SshdSocketAddress local,
SshdSocketAddress remote) |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
ClientSessionImpl.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
ClientSessionImpl.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
Modifier and Type | Method and Description |
---|---|
ChannelDirectTcpip |
ClientSessionImpl.createDirectTcpipChannel(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
ClientSessionImpl.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
ClientSessionImpl.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
void |
ClientSessionImpl.stopLocalPortForwarding(SshdSocketAddress local) |
void |
ClientSessionImpl.stopRemotePortForwarding(SshdSocketAddress remote) |
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
TcpipForwarder.getForwardedPort(int remotePort)
Retrieve the local address that the remote port is forwarded to
|
SshdSocketAddress |
TcpipForwarder.localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.
|
SshdSocketAddress |
TcpipForwarder.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
TcpipForwarder.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local)
Start forwarding tcpip from the given remote address to the
given local address.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ForwardingFilter.canConnect(SshdSocketAddress address,
Session session)
Determine if the session may create an outbound connection.
|
boolean |
ForwardingFilter.canListen(SshdSocketAddress address,
Session session)
Determine if the session may listen for inbound connections.
|
void |
TcpipForwarder.localPortForwardingCancelled(SshdSocketAddress local)
Called when the other side cancelled a remote port forward.
|
SshdSocketAddress |
TcpipForwarder.localPortForwardingRequested(SshdSocketAddress local)
Called when the other side requested a remote port forward.
|
SshdSocketAddress |
TcpipForwarder.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote)
Start forwarding the given local address on the client to the given address on the server.
|
SshdSocketAddress |
TcpipForwarder.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local)
Start forwarding tcpip from the given remote address to the
given local address.
|
void |
TcpipForwarder.stopLocalPortForwarding(SshdSocketAddress local)
Stop forwarding the given local address.
|
void |
TcpipForwarder.stopRemotePortForwarding(SshdSocketAddress remote)
Stop forwarding of the given remote address.
|
Modifier and Type | Method and Description |
---|---|
SshdSocketAddress |
DefaultTcpipForwarder.getForwardedPort(int remotePort) |
SshdSocketAddress |
DefaultTcpipForwarder.localPortForwardingRequested(SshdSocketAddress local) |
SshdSocketAddress |
DefaultTcpipForwarder.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
DefaultTcpipForwarder.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultTcpipForwarder.localPortForwardingCancelled(SshdSocketAddress local) |
SshdSocketAddress |
DefaultTcpipForwarder.localPortForwardingRequested(SshdSocketAddress local) |
SshdSocketAddress |
DefaultTcpipForwarder.startLocalPortForwarding(SshdSocketAddress local,
SshdSocketAddress remote) |
SshdSocketAddress |
DefaultTcpipForwarder.startRemotePortForwarding(SshdSocketAddress remote,
SshdSocketAddress local) |
void |
DefaultTcpipForwarder.stopLocalPortForwarding(SshdSocketAddress local) |
void |
DefaultTcpipForwarder.stopRemotePortForwarding(SshdSocketAddress remote) |
Constructor and Description |
---|
TcpipClientChannel(TcpipClientChannel.Type type,
IoSession serverSession,
SshdSocketAddress remote) |
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.