Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

KillboyPowerhead90

Error connecting SFTP server with ssh-rsa 4096 host key

Hi,

I'm trying to use WinSCP.exe 5.17.5.10414 to connect to a SFTP server with a ssh-rsa 4096 host key but I get the following message:
Couldn't agree a host key algorithm (available: rsa-sha2-256,rsa-sha2-512).

With the most recent version of WinSCP.exe (6.5.1.16311) I can connect flawlessly.
I suppose that 4096 key support has been introduced in later versions > 5.17.5 but I can't find nothing about it in the public changelog.
I know I'm using a pretty old version, but is it supposed to work on my version or updating WinSCP is mandatory? What do I have to do to make it work (even a solution that involves WinSCP .NET API could be ok for me)?

Thank you very much
Ivan