When add command service --status-all only return first service. ssh.exec('service --status-all', { out: function (stdout) { console.log(stdout) }, }).start(); - [ ] Should wait all command. - [ ] Should be returned all services.