# A public key corresponding to the supplied private key was not accepted

**URL:** <https://with.raidrive.com/t/a-public-key-corresponding-to-the-supplied-private-key-was-not-accepted/6561>\
**Category:** SFTP\
**Created:** [October 5, 2022, 9:23am UTC](https://with.raidrive.com/t/a-public-key-corresponding-to-the-supplied-private-key-was-not-accepted/6561 "2022-10-05T09:23:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Marcinczyk](https://with.raidrive.com/user_avatar/with.raidrive.com/piotr_marcinczyk/32/77_2.png) [@Piotr\_Marcinczyk](https://with.raidrive.com/u/Piotr_Marcinczyk)\
**Post date:** [October 5, 2022, 9:23am UTC](https://with.raidrive.com/t/a-public-key-corresponding-to-the-supplied-private-key-was-not-accepted/6561/1 "2022-10-05T09:23:41Z")

</div>

Hi,  
From some time I cannot connect to SFTP server. I didn’t change any configuration and the provided private key didn’t change. The same key works well in PuTTY and WinSCP.  
I’m using RaiDrive version 2022.6.56  
Thanks

---

<div class="post-metadata">

**Author:** ![RaiDrive](https://with.raidrive.com/user_avatar/with.raidrive.com/raidrive/32/1778_2.png) [@RaiDrive](https://with.raidrive.com/u/RaiDrive)\
**Post date:** [October 6, 2022, 1:13am UTC](https://with.raidrive.com/t/a-public-key-corresponding-to-the-supplied-private-key-was-not-accepted/6561/2 "2022-10-06T01:13:14Z")

</div>

Hi~ @Piotr_Marcinczyk ,

We made a new patch that fixed the issue you mentioned.  
It would be of great help if you update it, check it, and let us know the result.

- [RaiDrive\_2022.6.60\_x64.exe - Google Drive](https://drive.google.com/file/d/102rDX1fu5DNr2W8cYNiCv1hcPPD4Ud0r/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![Piotr\_Marcinczyk](https://with.raidrive.com/user_avatar/with.raidrive.com/piotr_marcinczyk/32/77_2.png) [@Piotr\_Marcinczyk](https://with.raidrive.com/u/Piotr_Marcinczyk)\
**Post date:** [October 19, 2022, 1:25pm UTC](https://with.raidrive.com/t/a-public-key-corresponding-to-the-supplied-private-key-was-not-accepted/6561/3 "2022-10-19T13:25:46Z")

</div>

Hi @RaiDrive,

Sorry for the delay. The patched version works correctly.  
Thanks for the help
