mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
chore:
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user