Authentication Error Unique to WinSCP

Advertisement

jll_a
Joined:
Posts:
3

Authentication Error Unique to WinSCP

Hello -

I authenticate to an SFTP server without issue using Filezilla, but for automation purposes I need to be able to SFTP to the server using WinSCP.

Whenever I attempt to connect using WinSCP, I receive this error:

>Disconnected: No supported authentication methods available (server sent: publickey)

The server uses only a username / password for authentication, no public/private key pairs. Filezilla has no problem connecting to the same server, with the same username / password over the same port.

Here's the last half of my system log. Can anyone help?

. 2017-11-27 12:01:28.603 Looking up host "xxxx.xxxx.xxxx.com"
. 2017-11-27 12:01:28.613 Connecting to xx.xx.xx.xx port 22
. 2017-11-27 12:01:28.637 Server version: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
. 2017-11-27 12:01:28.637 Using SSH protocol version 2
. 2017-11-27 12:01:28.638 We claim version: SSH-2.0-WinSCP_release_5.7.5
. 2017-11-27 12:01:28.648 Doing Diffie-Hellman group exchange
. 2017-11-27 12:01:28.706 Doing Diffie-Hellman key exchange with hash SHA-256
. 2017-11-27 12:01:29.432 Verifying host key rsa2 [removed] with fingerprint ssh-rsa 2048 [removed]
. 2017-11-27 12:01:29.438 Host key matches cached key
. 2017-11-27 12:01:29.439 Host key fingerprint is:
. 2017-11-27 12:01:29.439 ssh-rsa 2048 [removed]
. 2017-11-27 12:01:29.440 Initialised AES-256 SDCTR client->server encryption
. 2017-11-27 12:01:29.440 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2017-11-27 12:01:29.441 Initialised AES-256 SDCTR server->client encryption
. 2017-11-27 12:01:29.441 Initialised HMAC-SHA-256 server->client MAC algorithm
! 2017-11-27 12:01:29.496 Using username "xxxxx".
. 2017-11-27 12:01:29.604 Disconnected: No supported authentication methods available (server sent: publickey)    

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Authentication Error Unique to WinSCP

Please attach a verbose FileZilla log file.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Verbose Filezilla log file

Sorry, I've forgot to ask you for a full WinSCP log file.

Reply with quote

jll_a
Joined:
Posts:
3

..Eh, no worries. This turned out to be a username issue. Filezilla had the right username. WinSCP had the wrong one.

Reply with quote

Advertisement

You can post new topics in this forum