Home‎ > ‎


The best way to SSH to DDWRT is:
  1. Enable it in the DD-WRT UI: Services - Secure Shell section.
    • SSHd: Enable
    • SSH TCP Forwarding: Disable
    • Password Login: Disable
    • Port: an uncommon port (definitely not 22)
    • Authorized Key: copy paste your public SSH key.  It can start with ssh-rsa and end with your email address.  If you need to generate a public SSH key see the WSL example here.
  2. SSH to the router securely without having to deal with a password using the command:
    • ssh [router ip] -p [ssh port] -l root
That is it!  Easy!