Skip to main content
devarnenis2638
Known Participant
January 17, 2025
Question

SFTP Error Algorithm negotiation fail

We upgraded the SFTP Functions plugin to 4.1.0, now we are getting below error while recieving or sending files using SFTP:

"Algorithm negotiation fail: algorithmName=""server_host_key"" jschProposal=""ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256"" serverProposal=""ssh-rsa"""

The same smart service (SFTP) worked fine with the Plugin version 3.0.3.

Any idea on how to fix the issue?

 [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] [mention:92ac9d4559ff43edb28eaa01ed77691b:e9ed411860ed4f2ba0265705b8793d05] 

[mention:cd654a5ec99f4d9eb3afb367bbce9958:e9ed411860ed4f2ba0265705b8793d05] [mention:65f6155ee76a44fdb6ad252c54a7b56d:f7d226abd59f475c9d224a79e3f0ec07] [mention:a9315dfc069b47ac8a942fc16202b2e9:46448885d0e64133bbfbf0cd7b0fd6f7] [mention:132192b29a8949549f7724f828fb782a:46448885d0e64133bbfbf0cd7b0fd6f7:label=SFTP%20-%20%26%2339%3BAlgorithm%20negotiation%20fail%26%2339%3B] 

    1 reply

    stefanhelzle0001
    Brainy
    January 17, 2025

    ssh-rsa is obsolete and it seems like it was disabled in the plugin or a supporting library. You will have to update the server to a modern, and more secure, protocol.