[ https://issues.apache.org/jira/browse/SSHD-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268033#comment-17268033 ]
Lyor Goldstein commented on SSHD-1119: -------------------------------------- Please note that as I have already stated - the SSHD code is not responsible for what the client shows. Assuming you +registered correctly+ your custom {{SftpErrorStatusDataHandler}} {code:java} SshServer server = ...setup... SftpSubsystemFactory factory = new SftpSubsystemFactory.Builder() .withSftpErrorStatusDataHandler(new MyCustomSftpErrorStatusDataHandler()) .build(); server.setSubsystemFactories(Collections.singletonList(factory)); server.start(); {code} you can debug and place a breakpoint at your {{resolveErrorMessage}} implementation and make sure it is indeed invoked and that you are returning the message you expect. If that occurs, then I fail to see how this is a SSHD bug... > SftpErrorStatusDataHandler resolveErrorMessage is not propagating back the > custom message to the SSH client > ----------------------------------------------------------------------------------------------------------- > > Key: SSHD-1119 > URL: https://issues.apache.org/jira/browse/SSHD-1119 > Project: MINA SSHD > Issue Type: Bug > Reporter: Susmit Sarkar > Priority: Major > Attachments: image-2021-01-19-10-29-49-958.png, > image-2021-01-19-14-01-55-257.png > > > SftpErrorStatusDataHandler resolveErrorMessage() is not propagating back the > custom message to the SSH client like PUTY, although it works fine with > FileZilla or WinScp. Am I doing anything wrong or is it a bug in the lilbrary -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org