diff --git a/core/lib/common/worker.js b/core/lib/common/worker.js index 76d5a2d6d..1abc21fb3 100644 --- a/core/lib/common/worker.js +++ b/core/lib/common/worker.js @@ -327,7 +327,7 @@ module.exports = class Worker { config = { host: ip, port: '22222', - username: 'root', + username: this.username, }; } else if (/.*\.local/.test(target)) {