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

[jira] [Created] (SSHD-1187) Error messages from Server is not propaged to Client

Sreedhar J created SSHD-1187:
--------------------------------

             Summary: Error messages from Server is not propaged to Client
                 Key: SSHD-1187
                 URL: https://issues.apache.org/jira/browse/SSHD-1187
             Project: MINA SSHD
          Issue Type: Question
            Reporter: Sreedhar J


Error messages from the Apache SFTP Server were not displayed on the SFTP Client.

I am using  OpenSSH client to connect to the  SFTP Servers.  1. Commercial SFTP Server  2. Apache SFTP Server.

With commerical SFTP Server, I am able to see the error message which is thrown at the Server.  Here is the output at the openssh client side

 

debug3: Sent message fd 7 T:7 I:13

*debug2: channel 0: rcvd ext data 22*

*SFTP User Exit Error: debug2: channel 0: written 22 to efd 6*

debug3: Received stat reply T:101 I:13

debug1: Couldn't stat remote file: Failure

 

with the Apache SFTP Server
 
*debug3: Sent message fd 7 T:7 I:6*
 *debug3: Received stat reply T:101 I:6*
 *debug1: Couldn't stat remote file: Permission denied*


if we look at the above debug messages from the OpenSSH client,   Commerical SFTP Server is setting the StdError message on the Extenddata ( SSH_MSG_CHANNEL_EXTENDED_DATA ),  but not the Apache SFTP Server.
 
so my question is,  how do I send the  StdError mesages on the Channel  with SSH_MSG_CHANNEL_EXTENDED_DATA  ?
 



--
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