I would like to install Magento via SSH. anyone knew how to do that?
Step 1 figure out how to use SSH per your other thread.
Step 2 Upgrade your account to VPS http://wiki.dreamhost.com/Incompatible_applications
Step 3 go to this page: http://www.magentocommerce.com/download and click the “getting started” tab