You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2021/08/02 16:58:00 UTC

[jira] [Commented] (SSHD-1202) Intercepting the server exception message from server in SSHD client

    [ https://issues.apache.org/jira/browse/SSHD-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391698#comment-17391698 ] 

Lyor Goldstein commented on SSHD-1202:
--------------------------------------

Sorry, I have no example to show you. This is such an obscure feature that we have no sample implementation. I guess you'll just have to reverse engineer it - though you can use the example for the main stream as some guideline how to use the registered stream

> Intercepting the server exception message from server in SSHD client
> --------------------------------------------------------------------
>
>                 Key: SSHD-1202
>                 URL: https://issues.apache.org/jira/browse/SSHD-1202
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Susmit Sarkar
>            Priority: Major
>
> Hello Team,
> We are propagating an exception message from the sshd server code using SftpErrorStatusDataHandler, and everything is working fine for external clients like SSH terminal putty, winscp, Filezilla, but with Apache client, I am not getting hold of the exception message. Can you guys please help how can we intercept the exception message from the client side.
> Although i was going through the below link, but was not clear how to implement:
> [https://github.com/apache/mina-sshd/blob/master/docs/sftp.md#sending-custom-data-via-stderr-channel-data-to-the-client]
>  
> Thanks,
> Susmit



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org