This commit is contained in:
xiaojunnuo
2025-09-05 18:08:23 +08:00
parent cdd2816642
commit 4f39cb8dfa
2 changed files with 4 additions and 2 deletions

View File

@@ -136,9 +136,10 @@ export class SshAccess extends BaseAccess {
const { SshClient } = await import("./ssh.js");
const client = new SshClient(this.ctx.logger);
const script = ["echo hello", "exit"];
await client.exec({
connectConf: this,
script: "echo hello",
script: script,
});
return "ok";
}