D-Link Forums

D-Link DSL Modem/Routers => Other DSL modem/routers => Topic started by: jezzalencko on November 13, 2019, 07:56:28 AM

Title: SSH access to D-link 4320L and read/write
Post by: jezzalencko on November 13, 2019, 07:56:28 AM
Hi,
I've been successfully SSH'ing to the BusyBox shell within my 4320L router, however I need to be able to do this without inputting my admin password every time. (I'm writing a single line ssh command from another server to force a reboot upon certain conditions and can't be prompted by a pwd.)

To do this, I need to add a public SSH key on the router. I see it uses dropbear and so assume I would need to put the 'authorized_keys' file into the /etc/dropbear/ folder. Only problem is, this is a READ-ONLY file location and file structure!

Please help. How can I change this folder to have read/write permission!?
Applying ‘chmod 0600’ to the dropbear folder simply gives me the "chmod: /etc/dropbear/" Read-only file system" error.

Thanks.
Title: Re: SSH access to D-link 4320L and read/write
Post by: FurryNutz on November 13, 2019, 08:00:19 AM
I recommend that you phone contact your regional D-Link support office and ask for help and information regarding this.
Link> Tech Support Contact Information (http://forums.dlink.com/index.php?board=635.0)

Probably something that D-Link doesn't support for security reasons.

Good Luck.