If you aren't familiar with EZH (the Easy HMC Command Line Interface), check out the EZH project website on sourceforge It is a free, easy to install script for your HMC that provides a much better command line interface to your HMC and will make you much more efficient when working with your HMC. Not only does it provide shortcuts for all common HMC commands, it also adds additional functionality not available natively and even includes an interactive menu.
I was recently asked if it is possible to use EZH commands remotely over an SSH connection. For example, say you had a NIM server with SSH keys setup to your HMC, can you run a script on the NIM server that connects to the HMC and then use an EZH command? The answer is YES, it can be done, if you use a SSH command line such as this:
ssh hscroot@hmc1 "source ezh; lparls"
This connects to the HMC, loads the ezh script, and runs the "lparls" ezh command. Note that the quotation mark placement must match the example for this to work.
EZH was first released September 2012 so it has been out for about a year. If you haven't seen it yet, give it a try... If you have any suggestions for how to improve EZH please post a comment or send me an email.