Server refused our key: No supported authentication methods available
I am calling WinSCP via an SSIS job / bat file, getting an error in the log file telling me the server refused our key. See below for the error.
This is intermittent, sometimes does / doesn't work, I also see the failure when logging in manually using the EXE, hit the reconnect button and it works.
Any suggestions or advice would be appreciated.
Windows 2019
WinSCP 6.3.6
This is intermittent, sometimes does / doesn't work, I also see the failure when logging in manually using the EXE, hit the reconnect button and it works.
Any suggestions or advice would be appreciated.
Windows 2019
WinSCP 6.3.6
. Server offered these authentication methods: publickey . 2025-01-13 13:38:05.651 Offered public key ! 2025-01-13 13:38:05.823 Server refused our key < 2025-01-13 13:38:05.823 Script: Server refused our key. . 2025-01-13 13:38:05.823 Server refused our key . 2025-01-13 13:38:05.823 Server offered these authentication methods: publickey . 2025-01-13 13:38:05.823 No supported authentication methods available (server sent: publickey) . 2025-01-13 13:38:05.823 Attempt to close connection due to fatal exception: * 2025-01-13 13:38:05.823 No supported authentication methods available (server sent: publickey) . 2025-01-13 13:38:05.823 Closing connection. < 2025-01-13 13:38:05.823 Script: No supported authentication methods available (server sent: publickey) < 2025-01-13 13:38:05.823 Authentication log (see session log for details): < 2025-01-13 13:38:05.823 Using username "*******". < 2025-01-13 13:38:05.823 Server refused our key. < 2025-01-13 13:38:05.823