Hello,
please, someone can help me. I’m using putty to ssh into my machine using public keys. Works like a charme.
Doing to same using WinSCP to copy some files fails with error “Der entfernte Rechner hat unseren Schlüssel abgelehnt.”
Here is the WinSCP (5.19.6) log:
. 2022-04-21 10:47:39.939 Reading key file “mykey.prv”
! 2022-04-21 10:47:39.939 Using username “root”.
. 2022-04-21 10:47:39.955 Server offered these authentication methods: publickey
. 2022-04-21 10:47:39.955 Offered public key
! 2022-04-21 10:47:39.970 Server refused our key
. 2022-04-21 10:47:40.002 Server refused our key
. 2022-04-21 10:47:40.002 See Issue 1952 – Support rsa-sha2-256 and rsa-sha2-512 SSH public key algorithms :: Tracker :: WinSCP
. 2022-04-21 10:47:40.002 Server offered these authentication methods: publickey
. 2022-04-21 10:47:40.002 No supported authentication methods available (server sent: publickey)
. 2022-04-21 10:47:40.002 Attempt to close connection due to fatal exception:
- 2022-04-21 10:47:40.002 No supported authentication methods available (server sent: publickey)
. 2022-04-21 10:47:40.002 Closing connection.- 2022-04-21 10:47:40.028 (EFatal) No supported authentication methods available (server sent: publickey)
- 2022-04-21 10:47:40.028 Anmeldungsprotokoll (siehe Sitzungsprotokoll für Details):
- 2022-04-21 10:47:40.028 Benutzername „root“ wird verwendet.
- 2022-04-21 10:47:40.028 Der entfernte Rechner hat unseren Schlüssel abgelehnt.
I don’t know how long this problem exist, i’m using WinSCP (SFTP) only rarely.
I was trying to import the working putty setup into WinSCP, but this leads to the same error.
What do you think?