SshSession.setForwardedChannelHandler
void setForwardedChannelHandler(SshForwardedChannelHandler handler)Registers the policy for incoming forwarded TCP/IP channels.
Without a handler every incoming forwarded channel is refused. Passing null revokes the previous handler.
Parameters
handler | The accept/refuse policy, or null. |