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

Subramaniajeeva commented on SSHD-1077:
---------------------------------------

As this is a production system, I do not have the liberty to debug with break 
points. Let me add more debug logs and try it out.

> You have not described in this issue the exact exception you see when you ask 
> for version=3

I initially tried with version 6. After seeing the error I tried with version 3 
and I was receiving the same error `java.io.StreamCorruptedException: Selected 
version (6) not part of available: [3]`

> Do you mean when using MINA SSHD or the Linux client ?

Tried with linux client to retrieve the information on the server details I 
provided

> Have you tried connecting to the problematic servers with WinSCP ? FileZilla ?

No. I do not have access to winscp or filezilla from production systems. And 
the servers are not accessible from my local machine

> Getting StreamCorruptedException while creating sftp connection
> ---------------------------------------------------------------
>
>                 Key: SSHD-1077
>                 URL: https://issues.apache.org/jira/browse/SSHD-1077
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.5.0, 2.5.1
>         Environment: Production
>            Reporter: Subramaniajeeva
>            Assignee: Lyor Goldstein
>            Priority: Major
>
> After upgrading to latest release 2.5.1, I started seeing below error when 
> connecting with sftp client:
> java.io.StreamCorruptedException: Selected version (6) not part of available: 
> [3]
>  at 
> org.apache.sshd.client.subsystem.sftp.impl.DefaultSftpClient.negotiateVersion(DefaultSftpClient.java:522)
>  ~[sshd-sftp-2.5.1.jar:2.5.1]
>  at 
> org.apache.sshd.client.subsystem.sftp.impl.DefaultSftpClientFactory.createSftpClient(DefaultSftpClientFactory.java:49)
>  ~[sshd-sftp-2.5.1.jar:2.5.1]
>  at 
> org.apache.sshd.client.subsystem.sftp.SftpClientFactory.createSftpClient(SftpClientFactory.java:59)
>  ~[sshd-sftp-2.5.1.jar:2.5.1]
>  at
>  
> There was a change done for the version selector in one of the commit around 
> May:
> [https://github.com/apache/mina-sshd/commit/a8c7e3b5d3f0525cc02d258fde361e8bd58669e5]
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to