The easiest way to run remote Linux commands on a Mac is to open Xwindows on your mac, open a terminal and type in: ssh -X ipaddressoflinuxpc -l user. After you log on you can run linux program on you desktop. You can even use compression with the -C switch.