Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Andrew O / Andrew O (Andrew O)
Created: 06/29/2015
Components: Net Protocols, sFTP
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final / 303936
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 14
Problem Description:
When using CFFTP to connect to some S-FTP server, the during the connect phase, error "Algorithm negotiation fail" is returned.
Suspect that this is caused by non-support of the S-FTP encryption or hashing protocols by the current JSCH jar library used (which is jsch-0.1.44m.jar). From the class list it does not seem that HMAC-SHA-256 is supported.
The trace from Filezilla Client reveals this protocol:
Trace: We claim version: SSH-2.0-PuTTY_Local:_Jun__2_2015_17:18:05
Trace: Server version: SSH-2.0-OpenSSH_6.6p2-hpn14v4
Trace: We believe remote version has SSH-2 channel request bug
Trace: Using SSH protocol version 2
Trace: Doing ECDH key exchange with hash SHA-256
Trace: Host key fingerprint is:
Trace: ecdsa-sha2-nistp256 9c:3c:30:ad:07:b5:de:63:4a:8e:32:d6:28:19:46:e6
Trace: Initialised AES-256 SDCTR client->server encryption
Trace: Initialised HMAC-SHA-256 client->server MAC algorithm
Trace: Initialised AES-256 SDCTR server->client encryption
Trace: Initialised HMAC-SHA-256 server->client MAC algorithm
Note: I have already enabled/replaced the policy.jar files with the unlimited strength ones - the error still occurs.
Steps to Reproduce:
- Setup S-FTP server with SHA-256 and HMAC-SHA-256, AES-256 SDCTR protocols.
- Run CFFTP to connect.
Actual Result:
- Algorithm negotiation fail error
Expected Result:
- Successful connection
Any Workarounds:
- None
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4014234
External Customer Info:
External Company:
External Customer Name: Andrew
External Customer Email:
External Test Config: My Hardware and Environment details:
Windows Server 2012 R2, CF 11,0,05,293506 64 bit.
Attachments:
- June 26, 2017 00:00:00: jsch-0.1.52m.jar
Comments: