DD-WRT – Connect with SSH

DDWRT_SSHConnect

DD-WRT is a Linux-based alternative open-source firmware suitable for a great variety of WLAN routers and embedded systems. The main emphasis lies on providing the easiest possible handling while at the same time supporting a great number of functionalities, here is how to enable the SSH functionality.

Requirements
– DD-WRT installed on router
– Putty, winSCP or terminal on mac
Enable SSH

Login to your router and select the “Services” tabddwrtssh-tabs

Now find “Secure Shell” settings and enable it :

ddwrtssh-enable

Now save, apply changes and reboot your router

ddwrtssh-save

SSH is now enabled on your router.
*If SSH is greyed out, enable SSHd under the “Services” Tab.

Connecting - Putty

Open putty and fill in the IP of your router:

ddwrtputty1

now click “Open”, a warning message will appear, click “YES” :

ddwrtputty2

Now you can login with username “root”, the password will be the same as the password in de web interface.

ddwrtputty3

You are now connected!

Connecting - WinSCP

Start winSCP and fill in you hostname, username and password, then click “login” :

ddwrtwinscp1

On the first time you will need to add a key to your cache, click “yes”:

ddwrtwinscp2.1

WinSCP will show a banner it received from the router, check “never show this banner again” and click “continue” :

ddwrtwinscp2

You are now connected to your router.

ddwrtwinscp3

Connecting - Mac Terminal
ssh root@192.168.1.1

When it asks for your password, enter the password when logging in from your browser:

DDWRT_SSHConnect

One thought on “DD-WRT – Connect with SSH

Leave a Reply