You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Manoj Kumar (Commented) (JIRA)" <ji...@apache.org> on 2012/01/23 18:04:40 UTC
[jira] [Commented] (SSHD-68) Support subsystem on the client side
[ https://issues.apache.org/jira/browse/SSHD-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191253#comment-13191253 ]
Manoj Kumar commented on SSHD-68:
---------------------------------
In my sshClient code, I have added following code:
ConnectFuture future = client.connect( host, port );
future.await();
ClientSession session = future.getSession();
session.authPassword( login, password );
ClientChannel channel = session.createSubsystemChannel( "subsystem" );
channel.open();
After executing the client I get following error:
2012-01-23 22:31:30,541 [NioProcessor-2 ] INFO ChannelSubsystem - Send SSH_MSG_CHANNEL_REQUEST subsystem
2012-01-23 22:31:30,542 [NioProcessor-2 ] INFO ChannelSubsystem - Received SSH_MSG_CHANNEL_FAILURE on channel 0
Can you verify if the code change for sftp subsystem is working fine?
> Support subsystem on the client side
> ------------------------------------
>
> Key: SSHD-68
> URL: https://issues.apache.org/jira/browse/SSHD-68
> Project: MINA SSHD
> Issue Type: Improvement
> Reporter: Nadddy
> Assignee: Guillaume Nodet
> Fix For: 0.4.0
>
> Attachments: sshd.patch
>
>
> Please add support to connect to a subsystem from client.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira