Enable SSH on your Router

SSH is a secure way to program your router remotely.  SSH provides the encryption you need to avoid MtM (Man in the Middle Attacks).

In many routers, you’ll find SSH under the Administration menu.   This can be enabled to program your router or monitor it from afar.

Here’s a cheap E1500 with tomato firmware.  Under the Administration menu, you’ll find SSH.  You’ll need putty and puttygen in order to program SSH in tomato.

Putty Where to get

Download Putty and PuttyGen.  Login to your router and find where to enable SSH.  (You may not need PuttyGen on your router)  Enable SSH on Startup, Enable Remote and generate a key with PuttyGen if necessary.  For security, you should have the latest firmware, a complex password and filter IP addresses.  If you plan to SSH from an offsite location, find the public IP address of your company and enter it.

ssh key



Once the key is entered and your security is set, save and allow your router to reboot.  (The key below is used in a non-production lab).1 Tomato Enable SSH2 Tomato Enable SSH

Once the router has been configured, use Putty to login to your router.

Putty config


2 putty

Once you SSH, you can look at processes, configure your router and more.

Here’s an example of using the command TOP to see running processes.


Using ip addr to see IP address information.


Here’s a good tutorial on SSH on routers from DD-WRT.   With OpenWRT, DD-WRT and the variants of Tomato, you can have more control over your router.




About TCAT Shelbyville IT Department

The Tennessee College of Applied Technology - is one of 46 institutions in the Tennessee Board of Regents System, the seventh largest system of higher education in the nation. This system comprises six universities, fourteen community colleges, and twenty-six Applied Technology Colleges.
This entry was posted in Networking, Technology and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s