It is just version.
Update to latest version can solve this.
@ogbonnaebuka: Well, you need to upgrade. There has to be a way to update software on the remote machine, right? Only other option to reconfigure your SFTP server to allow older deprecated algorithms (obviously, not a good solution).
I am having the same issue with error text "Couldn't agree a host key algorithm (available: ecdsa-sha2-nistp256)". I am at version 5.7.7, but unfortunately I cannot upgrade as WinSCP is running on a remote Windows server which is not allowed to access the internet.
What would you advise in my case?
Thanks in advance.
I am having the same issue with
Thanks. That fixed the issue.
I am using the latest version (5.19.6) and WinSCP is giving me this error. I use the key via Pageant (ssh-rsa 2048) and connecting via PuTTY (0.76.0.20220214) works fine. Suggestions?