No supported authentication methods available (server sent: publickey)

Advertisement

josmond
Joined:
Posts:
1
Location:
UK

No supported authentication methods available (server sent: publickey)

Hi,

I have successfully connected to the external host, setup the account as username & password, tried to connect using WinSCP 6.1.2 and get 'Authentication Error' - is this forcing me to use a certificate? - thanks for any assistance
. 2023-11-14 14:12:09.572 Looking up host "*HostName*" for SSH connection
. 2023-11-14 14:12:09.592 Connecting to *Ip Address* port 4022
. 2023-11-14 14:12:09.622 Connected to *Ip Address*
. 2023-11-14 14:12:09.647 We claim version: SSH-2.0-WinSCP_release_6.1.2
. 2023-11-14 14:12:09.647 Connected to *Ip Address*
. 2023-11-14 14:12:09.647 Remote version: SSH-2.0-SSHD
. 2023-11-14 14:12:09.647 Using SSH protocol version 2
. 2023-11-14 14:12:09.652 Have a known host key of type rsa2
. 2023-11-14 14:12:09.672 Doing ECDH key exchange with curve nistp384, using hash SHA-384 (unaccelerated)
. 2023-11-14 14:12:10.467 Host key fingerprint is:
. 2023-11-14 14:12:10.467 ssh-rsa 4096 SHA256:Kn5xpYd/Gy+mLBRf9SBLzUuiBv1SsRr8q8YBW4M1JW4
. 2023-11-14 14:12:10.512 Host key matches cached key
. 2023-11-14 14:12:10.512 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] outbound encryption
. 2023-11-14 14:12:10.512 Initialised HMAC-SHA-256 outbound MAC algorithm
. 2023-11-14 14:12:10.512 Initialised AES-256 SDCTR (AES-NI accelerated) [aes256-ctr] inbound encryption
. 2023-11-14 14:12:10.512 Initialised HMAC-SHA-256 inbound MAC algorithm
! 2023-11-14 14:12:10.542 Using username "SFTPUserName".
. 2023-11-14 14:12:10.587 Server offered these authentication methods: publickey
. 2023-11-14 14:12:10.587 No supported authentication methods available (server sent: publickey)
. 2023-11-14 14:12:10.587 Attempt to close connection due to fatal exception:
* 2023-11-14 14:12:10.587 No supported authentication methods available (server sent: publickey)
. 2023-11-14 14:12:10.587 Closing connection.
* 2023-11-14 14:12:10.622 (EFatal) No supported authentication methods available (server sent: publickey)
* 2023-11-14 14:12:10.627 Authentication log (see session log for details):
* 2023-11-14 14:12:10.627 Using username "SFTPUserName".
* 2023-11-14 14:12:10.627 
* 2023-11-14 14:12:10.627 Authentication failed.

Reply with quote

Advertisement

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

Re: No supported authentication methods available (server sent: publickey)

It indeed looks like your server supports key authentication only. Why are you trying a password?

Reply with quote

Advertisement

You can post new topics in this forum