public async Task <int> RunSshCommand(String command) { //Commands run here are not escaped, TODO: Escape ssh commands var sshHost = await sshHostLookup.Value; var sshState = await sshStateLoad.Value; var sshConnection = $"{sshState.vmUser}@{sshHost}"; return(await shellRunner.RunProcessGetExitAsync($"ssh -i {sshState.privateKeyFile} -t {sshConnection} {command}")); }