Remote-access Guide

ddwrt remote access ssh management greyed out

by Cesar O'Reilly IV Published 2 years ago Updated 1 year ago
image

Part of a video titled Enable SSH (Secure Shell) on a DD-WRT Router - YouTube
0:01
1:12
Apply sentence status so administration. And we can then enable. The remote access for that so weMoreApply sentence status so administration. And we can then enable. The remote access for that so we can we can login to SSH locally on the internal.

How do I login to the DD-WRT via SSH?

The DD-WRT firmware can use user/pass logon or only allows connections from clients whose public keys are manually entered via the web interface. Multiple keys can be entered by placing them on separate lines. If you want to use user/password to login using SSH use user "root" with the password you set in the webinterface

What is remote SSH management and how do I enable it?

This feature makes it possible to connect securely to the router's HTTP web interface, even when the interface has been configured to only be accessible by computers on the router's LAN. First, 'Remote SSH Management' must be enabled under Administration -> Management if you wish to connect to your router from the WAN.

How does the DD-WRT firmware use user/pass logon?

The DD-WRT firmware can use user/pass logon or only allows connections from clients whose public keys are manually entered via the web interface. Multiple keys can be entered by placing them on separate lines.

How do I regain access to my router's web interface?

To regain access try starting the web server. SSH or telnet into the router and enter the following commands: This forum thread gives all to gory details about enabling/disabling the web interface.

image

What is Dropbear SSH?

The Dropbear SSH client allows you to specify the password through an environment variable. This is useful when you need dd-wrt to auto-login to another host via SSH.

How to use user/password to login using SSH?

If you want to use user/password to login using SSH use user "root" with the password you set in the webinterface

How does SSH work?

For the latter to work, a small public key is given to the server and the server gives your client its public key. Your client encrypts information to the server using the servers public key and the server encrypts information sent to you using your public key. Private keys are never exchanged, and are used to decrypt the information encrypted with the associated public key.

How to enable key authentication in Putty?

In Putty, you can enable key authentication by opening the SSH authentication configuration (Connection -> SSH -> Auth) and entering or browsing to your private key file. Also make sure your auto-login username is root (in Connection -> Data).

What happens if your router's fingerprint does not match?

Memorize, or record somewhere safe, your router's key fingerprint! In the process of logging into your router, if you see that the key fingerprint matches, you can rest assure noone is spying on your connection (i.e. via man-in-the-middle attack). If the key fingerprint does NOT match (your SSH client would likely notify you of this), something is wrong and you should consider terminating the connection immediately! (Note: the router's key fingerprint may change upon reset and/or upgrade, as it will likely generate a new key pair)

How to log into router web interface?

Open your local browser window and point it to http://localhost:12345, and you should be able to log into the router's web interface as if you were on the router's local area network. This connection is secure!

What is the default password for a router?

When asked for the password, enter your router's password (default "admin")

What happens if you lose web access to your router?

If for some reason you completely lost web access to the router, the web server (HTTP daemon) may be shut down. To regain access try starting the web server. SSH or telnet into the router and enter the following commands:

Can you restart HTTP daemon?

You can try restarting the HTTP daemon since you can still SSH in. If that doesn't work, you may have to resort to a full reset/reboot.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9