fix: adding cloud option for various scripts, and assigning realm_name to server

The cloud option has been added to kick,ssh,sync,start,stop.

Change-Id: I0a209eb4c137758268001b6437830bd2067ad0e5