You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/02/28 15:40:00 UTC

[jira] [Work logged] (SSHD-903) SFTP version negotiation does not work

     [ https://issues.apache.org/jira/browse/SSHD-903?focusedWorklogId=205843&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-205843 ]

ASF GitHub Bot logged work on SSHD-903:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Feb/19 15:39
            Start Date: 28/Feb/19 15:39
    Worklog Time Spent: 10m 
      Work Description: lgoldstein commented on pull request #96: [SSHD-903] Fixed the SFTP version negotiation behavior in case client proposed version is higher than server supported one
URL: https://github.com/apache/mina-sshd/pull/96
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 205843)
            Time Spent: 10m
    Remaining Estimate: 0h

> SFTP version negotiation does not work  
> ----------------------------------------
>
>                 Key: SSHD-903
>                 URL: https://issues.apache.org/jira/browse/SSHD-903
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Mark Ebbers
>            Assignee: Goldstein Lyor
>            Priority: Major
>         Attachments: screenshot-winscp-sftp-version.png, sftp-version-1.png, sftp-version-2.png, winscp-info.png, winscp.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I have some problems with uploading files to our MINA SSHD based SFTP server when using ,different version, of WinSCP as SFTP client. WinSCP is configured to use version 6 of the SFTP protocol if possible. 
> Uploading a file of ~ 45KB sometimes result in a file of 32711 bytes where in the data is not appended (from the second SFTP packet) but overwritten. (But did not pin point the exact bug)
> As a temporary solution I found, in issue SSHD-874, a comment which suggest to force the server to use sftp-protocol version 3. If I do this I expect the server to negotiate with the client that version 3 should be used instead of version 6. But what happens is that the server sends a not supported message.
>  
> I think that the AbstractSftpSubsystemHelper::checkVersionCompatibility() is the problem.
> See my screenshots. As you can see the version proposed by WinSCP is version 6. I forced the server on version 3.



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