Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Server refused public-key signature despite accepting key

It's probably server-side problem. Please talk to your server administrator. The server may need to be updated.
Steven11

Re: Server refused public-key signature despite accepting key

. 2019-12-12 11:10:00.279 We claim version: SSH-2.0-WinSCP_release_5.13.6
. 2019-12-12 11:10:00.435 Server version: SSH-2.0-2.0
. 2019-12-12 11:10:00.435 Using SSH protocol version 2
. 2019-12-12 11:10:00.435 Have a known host key of type rsa2
. 2019-12-12 11:10:00.451 Doing ECDH key exchange with curve nistp256 and hash SHA-256
. 2019-12-12 11:10:00.498 Host key fingerprint is:
. 2019-12-12 11:10:00.498 ssh-rsa 1024
. 2019-12-12 11:10:00.498 Host key matches cached key
. 2019-12-12 11:10:00.498 Initialised AES-256 SDCTR client->server encryption
. 2019-12-12 11:10:00.498 Initialised HMAC-SHA-256 client->server MAC algorithm
. 2019-12-12 11:10:00.513 Initialised AES-256 SDCTR server->client encryption
. 2019-12-12 11:10:00.513 Initialised HMAC-SHA-256 server->client MAC algorithm
. 2019-12-12 11:10:00.513 Reading key file ""
! 2019-12-12 11:10:00.529 Using username "".
. 2019-12-12 11:10:00.841 Server offered these authentication methods: password,publickey
. 2019-12-12 11:10:00.841 Offered public key
. 2019-12-12 11:10:01.201 Offer of public key accepted
! 2019-12-12 11:10:01.201 Authenticating with public key "rsa-key-20190212"
. 2019-12-12 11:10:01.310 Sent public key signature
! 2019-12-12 11:10:01.451 Server refused public-key signature despite accepting key!
. 2019-12-12 11:10:01.451 Server refused public-key signature despite accepting key!
. 2019-12-12 11:10:01.451 Server offered these authentication methods: password,publickey
. 2019-12-12 11:10:01.451 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2019-12-12 11:10:01.451 Using stored password.
. 2019-12-12 11:10:01.451 Sent password
! 2019-12-12 11:10:01.966 Further authentication required
. 2019-12-12 11:10:01.966 Further authentication required
. 2019-12-12 11:10:01.966 Server offered these authentication methods: password,publickeyv8‡XÉf.*ê!Lm¯î"‘»[™úï Ø6¡%}g(4 ·`g“¬`½Û0Ä0`Ÿ®«
. 2019-12-12 11:10:01.966 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2019-12-12 11:10:01.966 Disconnected: Unable to authenticate
Thu 12/12/2019
martin

Re: Server refused public-key signature despite accepting key

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Steven11

Server refused public-key signature despite accepting key

Dear Team,
As per below logs, we are facing this schedule(every 15 mins) job issue, connection is successful for 99%.
We shall be most grateful if we can have your support on same.

Winscp Version:- 5.13.6 ( Same recently upgraded)

. 2019-11-21 10:00:00.810 Server refused public-key signature despite accepting key!
. 2019-11-21 10:00:00.810 Server offered these authentication methods: password,publickey
. 2019-11-21 10:00:00.810 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2019-11-21 10:00:00.810 Using stored password.
. 2019-11-21 10:00:00.810 Sent password
! 2019-11-21 10:00:00.904 Further authentication required
. 2019-11-21 10:00:00.904 Further authentication required
. 2019-11-21 10:00:00.904 Server offered these authentication methods: password,publickeyâ{™(
________________________________________

. 2019-11-21 10:00:00.904 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2019-11-21 10:00:00.904 Disconnected: Unable to authenticate