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.
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.
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).
Once the router has been configured, use Putty to login to your router.
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.