1) Make sure you are using V1.11 of MOH:AA and V2.11 of SH.
2) Visit
http://www.mohadmin.com and look in the Guides section for sample .CFG files to use.
3) Use Rudedog's RCON Guide at the same website in the Guides section for a list of each command and what they do.