WinSCP can't connect to server using SSH keys

Advertisement

Nippius
Guest

WinSCP can't connect to server using SSH keys

Hi everyone,

I have a PuTTY session setup to connect to a Raspberry Pi using SSH keys.

I've installed the latest version of WinSCP and imported the PuTTY session into WinSCP using the importer. Afterwards, when I try to connect I get a "Server refused our key. Authentication failed." error.

I've tried pretty much everything I could find on this forum and it didn't work. PuTTY/Pscp/Plink can connect using the session, launching PuTTY from inside WinSCP works, enabling workarounds for known bugs, etc.

This keys have been in use for a couple of years now and previous versions of WinSCP worked just fine so I'm not sure why it's failiing now. I've added the debug logs to this post but after looking at them, I don't see a reson that could be causing this aside from something weird like wrong enconding when sending the keys?

Any ideas what this could be?

Thank you!
Description: debug logs

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: WinSCP can't connect to server using SSH keys

It's probably the OpenSSH 8.8. See:
https://winscp.net/tracker/1952

Can you send me an email, so I can send you back a development version of WinSCP for testing? Please include a link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

Reply with quote

Advertisement

You can post new topics in this forum