Page 1 of 1

Problem with connection to SFTP Server

Posted: Sat 09 May 2020 16:12
by Marek-2
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

Re: Problem with connection to SFTP Server

Posted: Fri 15 May 2020 11:14
by ViktorV
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.