Here is a very small "trick" to be more smarter.
Lets say you want to run "top" command on the machine x.x.x.x using SSH.
First find out the path of the top command using -
Once you get the path. Now just type this -
ssh email@example.com /path/to/the/command