Posts tagged dropbear
I recently updated my version of DD-WRT from 14xxx to the latest and greatest 18946
I know that they recommend you do the 30/30/30 reset, but you know what, I didn’t want to lose all my settings.
What I found when the router restarted, is that everything worked fine, Except for SSH
It seems that as of version 17xxx the guys are DD-WRT switched from OpenSSH to Dropbear. No big deal really, exept the SSH keys are not compatible with each other, thus preventing SSH from running.
To fix SSH:
- Enable Telnet
- Telnet into your router and run the following commands:
- cd /tmp/root/.shh/
- rm authorized_keys
- rm ssh_host_dss_key
- rm ssh_host_rsa_key
- nvram unset sshd_rsa_host_key
- nvram commit
Once the Router Restarts, SSH should be working, and when you try to login, you will get a prompt to accept the new Key Generated by DropBear
Don’t Forget to Disable Telnet