Run command as another user using sudo

To run a command as a different user remote using sudo.

Run the below.


Use -S to pipe the password in previous if needed.


rsync folder with sync

To run an rsync from a remote server to a local one and sync the files.

Run the below command

rsync -avz user@server:/tmp/test /tmp/test

Also you can show a progress option with the below addition

rsync -avz --progress user@server:/tmp/test /tmp/test

And add a bandwidth limiter if needed

rsync -avz --bwlimit=100000 user@server:/tmp/test /tmp/test

Great tutorial on setting up vCMA for remote access via the VMware iPad application!

Mohammad Alam - K'Base

This is a very nice post from Eric Siebert from his BLOG Helped me a lot and might help you.


After considering the security implications of managing a VMware infrastructure with an iPad, it’s time to install vCenter Mobile Access (vCMA) and connect it to the vSphere Client for iPad.

First, download the most recent copy of vCMA from the VMware Labs website. It’s available as either an Open Virtualization Format (OVF) file that can be imported into vCenter Server, or as a ZIP file with the virtual machine (VM) already deployed, which you can copy to a host and register. The OVF file is easier to install, so l will cover that method.

Download the OVF version to your workstation. It contains a small .ovf file and a 300 MB system.vmdk file.

Figure 1
(Click image for an enlarged view.)

Unzip the file…

View original post 719 more words