External SSH

From DD-WRT Wiki

Revision as of 13:47, 24 September 2009 by Opfeifer (Talk | contribs)
Jump to: navigation, search

SSH access from Internet

Contents

Ensure SSH Enabled

  1. Goto the Administration tab and the Services sub-tab on the Web Interface
  2. Enable "SSHd" is under the section titled "Secure Shell"
  3. Choose an appropriate port (The default is 22, but it is recommended that you change it to a non-standard port above 1024 for security reasons. Remember the port number, as you will need to enter it into your SSH client in order to connect to the router)
  4. Save

Enable Remote Access

  1. Goto the Administration tab and the Management sub-tab on the Web Interface
  2. Enable "SSH Management" under the section titled "Remote Access"
  3. Enter the same port number as specified under (3) above. This opens the port in the firewall.
  4. Apply Settings

Now you will be able to connect to your router's WAN IP from the internet using an SSH client such as PuTTY.

Disabling Remote Access

If at any time you wish to disable SSH access from the WAN,

  1. Goto the Administration tab and the Management sub-tab on the Web Interface
  2. Disable "SSH Management" under the section titled "Remote Access"
  3. Apply Settings

SSH Password

  1. When asked for the username, enter root (even if you changed username in web interface)
  2. When asked for the password, enter your router's password

References