You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2018/12/04 17:26:00 UTC

[jira] [Commented] (SSHD-874) Error decoding packet - WinSCP Issue - Need to know the SFTP Protocol version support for SSHD-CORE and SSHD-SFTP

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

Goldstein Lyor commented on SSHD-874:
-------------------------------------

I will look into it - meanwhile, you can always force version 3 either at {{WinSCP}} or at the server - via
{code:java}
SshServer server = ... setup server...
PropertyResolverUtils.updateProperty(server, SftpSubsystemEnvironment.SFTP_VERSION, SftpConstants.SFTP_V3);
,,,
server.start();
{code}
see also {{AbstractSftpSubsystemHelper#checkVersionCompatibility}}. This will force the server to declare that it supports only version 3, thus {{WinSCP}} will also use it.

{quote}
If I use the latest version of SSHD-CORE and SSHD-SFTP, this problem can be resolved or not. 
{quote}

Please do try the latest version (2.1.0) and let me know if the problem reproduces (you did not specify which version you tried that caused this issue).

> Error decoding packet - WinSCP Issue - Need to know the SFTP Protocol version support for SSHD-CORE and SSHD-SFTP
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SSHD-874
>                 URL: https://issues.apache.org/jira/browse/SSHD-874
>             Project: MINA SSHD
>          Issue Type: Bug
>            Reporter: Saravanakumar Vijayakumar
>            Assignee: Goldstein Lyor
>            Priority: Major
>
> Actually, The SFTP Server is properly working in Filezilla in ubuntu. But It is not working in WinSCP. While listing the directory, It throws the following error.
> "Error decoding packet"
> I guess this problem due to the protocol version 6 is currently used by winscp. It works when degrading the protocol version to 3. 
> Please advise me If I use the latest version of SSHD-CORE and SSHD-SFTP, this problem can be resolved or not. 
> Please comment the SFTP protocol version support for the latest libraries. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)