Problem with connection to SFTP Server

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Marek-2
Posts: 5
Joined: Tue 28 Apr 2020 06:04

Problem with connection to SFTP Server

Post by Marek-2 » Sat 09 May 2020 16:12

Hello,

one of my users have problem with connection to server (SecureBridge 9.2).
He get the following error
The negotiation of host key algorithm is failed (rsa-sha2-256,rsa-sha2-512,ssh-rsa,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256 <-> ssh-dss)
Have you maybe some hint what could be the cause for the problem?

Greetings,
Marek

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Problem with connection to SFTP Server

Post by ViktorV » Fri 15 May 2020 11:14

This error can be raised if setted client encryption algorithms have no compliance with server algorithms.
To solve the problem, set the TScSSHClient.CiphersClient and CiphersServer properties to the 'aes256-ctr,aes192-ctr,aes128-ctr,blowfish-cbc,aes256-cbc,aes192-cbc,aes128-cbc,cast128-cbc,3des-cbc,3des-ctr,blowfish-ctr,cast128-ctr' value.
If it does not solve the problem, check that your SSH server supports one of these algorithms.

Post Reply