remote settings and create a vm

setRemote for remote ssh executing
createVm creates new vm