I'm trying to implement a client that communicates with a given openssh server subsystem (for example "SubSystem test /bin/sh" in /etc/ssh/sshd_config, accessible using "ssh localhost -s test"). I've found an EchoChannel in the docs, and trying to use "test@localhost" in the getChannelType(), but had no luck: openchannel() always returns false. What's the correct way to connect to that subsystem?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.