# Permission denied (Public key)

**URL:** <https://mangoh.discourse.group/t/permission-denied-public-key/6035>\
**Category:** mangOH Yellow\
**Created:** [January 20, 2021, 3:52am UTC](https://mangoh.discourse.group/t/permission-denied-public-key/6035 "2021-01-20T03:52:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivanlin](https://avatars.discourse-cdn.com/v4/letter/i/aeb1de/32.png) [@ivanlin](https://mangoh.discourse.group/u/ivanlin)\
**Post date:** [January 20, 2021, 3:52am UTC](https://mangoh.discourse.group/t/permission-denied-public-key/6035/1 "2021-01-20T03:52:44Z")

</div>

Hi,

I was setting up mangOH Yellow WP7702 and tried to connect to the mangOH yellow using the command ssh [root@192.168.2.2](mailto:root@192.168.2.2) on my terminal emulator.

I get the error:  
Permission denied (Public Key).

When I was setting up my CF3 module for the first time, I chose option 1: Setup ssh keys and disable passwords-based authentication via ssh (the most secure) instead of option 3: Do Nothing.  
[Connect\_to\_mangOH\_Yellow00018|591x78](https://mangoh.discourse.group/uploads/short-url/2FxcyKEwM49SLcNyaoyIU0Hkv2j.jpeg)

How can I resolve this issue? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 20, 2021, 4:16am UTC](https://mangoh.discourse.group/t/permission-denied-public-key/6035/2 "2021-01-20T04:16:42Z")

</div>

You can try to downgrade the FW to R11 and then use “swiflash -m wp77xx -r” to switch back to default state.

[https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-11/#sthash.J5soML9Z.6IscNrX8.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-11/#sthash.J5soML9Z.6IscNrX8.dpbs)

An example of WP76 module:

> **[Wp76 root password](https://forum.sierrawireless.com/t/wp76-root-password/17645/7)**
>
> i used wp small latter and its not working you think because of firmware R13 is not working ? i need to burn R12 and you sure its does recovery?

---

<div class="post-metadata">

**Author:** ![ivanlin](https://avatars.discourse-cdn.com/v4/letter/i/aeb1de/32.png) [@ivanlin](https://mangoh.discourse.group/u/ivanlin)\
**Post date:** [January 21, 2021, 1:18am UTC](https://mangoh.discourse.group/t/permission-denied-public-key/6035/3 "2021-01-21T01:18:05Z")

</div>

Hi,

I tried to downgrade the firmware to R11, but the download failed because no download port was available. I ran the exe on Windows.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/c/c20ca9f0146832501663271e66c67bfd2f3f4b93.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [January 21, 2021, 1:25am UTC](https://mangoh.discourse.group/t/permission-denied-public-key/6035/4 "2021-01-21T01:25:40Z")

</div>

you can use 7zip tool to extract the exe.  
Inside there is .spk file, transfer it to module /tmp folder by scp or USB thumb drive or download from network, and then you can use “fwupdate download /tmp/xxx.spk” command to update FW.

Besides, from your log, there is no download port.  
You can also try AT!BOOTHOLD command to switch module to download mode.  
Then you can try the exe again.  
If it still not works, you can open command prompt, type “fdt2.exe xxx.spk” and see if it works.

Lastly, what is the current FW version on your module?  
If it is on some FW older than R11, then you can directly use the swiflash to erase the userapp partition.

---

<div class="post-metadata">

**Author:** ![ivanlin](https://avatars.discourse-cdn.com/v4/letter/i/aeb1de/32.png) [@ivanlin](https://mangoh.discourse.group/u/ivanlin)\
**Post date:** [January 21, 2021, 2:08am UTC](https://mangoh.discourse.group/t/permission-denied-public-key/6035/5 "2021-01-21T02:08:06Z")

</div>

Thank you for your help. I have successfully downgraded my firmware to R11 and resolved the ssh key issue. My firmware version was 1.0.
