hstyi opened a new pull request, #716:
URL: https://github.com/apache/mina-sshd/pull/716
Closes #712
## example
```java
// create client...
SshClient client;
// set X11ChannelFactory
client.setChannelFactories(Collections.singletonList(X11ChannelFactory.INSTANCE));
// create session...
ClientSession session =
client.connect("host").verify(CONNECT_TIMEOUT).getSession();
// set X11 server
CoreModuleProperties.X11_BIND_HOST.set(session, "localhost");
CoreModuleProperties.X11_BASE_PORT.set(session, 6000);
// create channel...
ChannelShell channel = session.createShellChannel();
// enable X11 forwarding
channel.setXForwarding(true);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]