WD Community

Custome script on boot

Greetings to All,

I recently purchased PR4100 NAS , All I want is to make my ssh public keys to be persistent. After a boot /root/.ssh/id_rsa.pub is removed :confused: . Is there any tutorial that I can save my key on /root/.ssh path after PR4100 reboot/poweron .
Thanks

Regards

The Entware loader (init and clean) has a section that does this.

TLDR: get entware package.
I should make this a separate package someday.

I’ve done this via an other method .

using following

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.