Authenticating with public key RSA-2 1024Bit failed

Advertisement

RadimV
Guest

Authenticating with public key RSA-2 1024Bit failed

Hi Martin,
I am trying to connect to a SFTP server
Protocol: SFTP with SSH 2.0
Authentification: Public-Key with RSA-2 1024Bit
Authentication fails with error "Server refused public-key signature despite accepting key!" - see log.
Both keys (public and private) were generated with PuTTY key generator.
WinSCP version 5.7.5 - I am using the GUI interface ("Commander" option).
Turning on the "Ignores SSH-2 maximum packet size" debug option hasn't resolved this error.
What can be wrong?

. 2015-10-30 09:31:59.757 --------------------------------------------------------------------------
. 2015-10-30 09:31:59.835 Looking up host "xxx.xx.xx.xx"
. 2015-10-30 09:31:59.835 Connecting to xxx.xx.xx.xx port 22
. 2015-10-30 09:32:02.194 Server version: SSH-2.0-mod_sftp/0.9.8
. 2015-10-30 09:32:02.194 We believe remote version has SSH-2 RSA padding bug
. 2015-10-30 09:32:02.194 We believe remote version ignores SSH-2 maximum packet size
. 2015-10-30 09:32:02.194 Using SSH protocol version 2
. 2015-10-30 09:32:02.194 We claim version: SSH-2.0-WinSCP_release_5.7.5
. 2015-10-30 09:32:02.210 Doing Diffie-Hellman group exchange
. 2015-10-30 09:32:02.304 Doing Diffie-Hellman key exchange with hash SHA-256
. 2015-10-30 09:32:03.507 Verifying host key rsa2 0x23,0xa3f689897304d241 62d900a637d97541 c3a0441a27b6bb80 348f02408e4d0490 f020a5720a030e0d ff3f15174266f4be 141b5a4c37ec879e ca2549548c2f5c67 1f50e8a1f5e3abfa 0d61972e50f41a5a 642b39be1e5ce71d 580d3bfd601483d2 5b36e6169291f9f1 534bbe61e9a9c768 5d5231350c29ba60 ed9665947813cf4f with fingerprint ssh-rsa 1024 2b:9d:be:78:96:20:73:0e:36:2f:ba:65:fa:77:20:81
. 2015-10-30 09:32:03.538 Host key matches cached key
. 2015-10-30 09:32:03.538 Host key fingerprint is:
. 2015-10-30 09:32:03.538 ssh-rsa 1024 2b:9d:be:78:96:20:73:0e:36:2f:ba:65:fa:77:20:81
. 2015-10-30 09:32:03.538 Initialised AES-256 SDCTR client->server encryption
. 2015-10-30 09:32:03.538 Initialised HMAC-SHA1 client->server MAC algorithm
. 2015-10-30 09:32:03.538 Initialised AES-256 SDCTR server->client encryption
. 2015-10-30 09:32:03.538 Initialised HMAC-SHA1 server->client MAC algorithm
. 2015-10-30 09:32:03.585 Reading private key file "D:\Vala\Vyroba\Cargologix\ENI\PrivateKey.ppk"
! 2015-10-30 09:32:03.585 Using username "10001063".
. 2015-10-30 09:32:03.616 Offered public key
. 2015-10-30 09:32:03.647 Offer of public key accepted
! 2015-10-30 09:32:03.647 Authenticating with public key "rsa-key-20151006"
. 2015-10-30 09:32:03.663 Sent public key signature
! 2015-10-30 09:32:04.319 Server refused public-key signature despite accepting key!
. 2015-10-30 09:32:04.350 Server refused public-key signature despite accepting key!
. 2015-10-30 09:32:04.350 Disconnected: No supported authentication methods available (server sent: publickey)
* 2015-10-30 09:32:04.413 (EFatal) Disconnected: No supported authentication methods available (server sent: publickey)
* 2015-10-30 09:32:04.413 Authentication log (see session log for details):
* 2015-10-30 09:32:04.413 Using username "10001063".
* 2015-10-30 09:32:04.413 Authenticating with public key "rsa-key-20151006".
* 2015-10-30 09:32:04.413 Server refused public-key signature despite accepting key!
* 2015-10-30 09:32:04.413
* 2015-10-30 09:32:04.413 Authentication failed.

Thanks a lot Radim

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Authenticating with public key RSA-2 1024Bit failed

Any error in the server's log?
Can you connect with any other SSH/SFTP client? E.g. PuTTY?

Reply with quote

Advertisement

You can post new topics in this forum