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:
      1. cd /tmp/root/.shh/
      2. rm authorized_keys
      3. rm ssh_host_dss_key
      4. rm ssh_host_rsa_key
      5. nvram unset sshd_rsa_host_key
      6. nvram commit
      7. reboot

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

Facebook Twitter Email Linkedin Digg Delicious