tonysamson
Regular Contributor
So I managed to SSH into the router from my My Book Live without entering my router's password. But, if I'd reboot my router I'm back to square one and would have to enter my password again.
I noticed that the authorized_keys file located in /root/.ssh gets deleted everytime the router is rebooted.
I tried placing the .ssh folder with the authorized_keys file somewhere and mount it using /etc/fstab but I think the fstab file gets deleted as well so it doesn't get mounted.
Please help me find a way to get around it. How do I make the .ssh folder and the authorized_keys file become permanent?
Thank you so much.
I noticed that the authorized_keys file located in /root/.ssh gets deleted everytime the router is rebooted.
I tried placing the .ssh folder with the authorized_keys file somewhere and mount it using /etc/fstab but I think the fstab file gets deleted as well so it doesn't get mounted.
Please help me find a way to get around it. How do I make the .ssh folder and the authorized_keys file become permanent?
Thank you so much.