mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
chore: 1
This commit is contained in:
@@ -82,7 +82,7 @@ export class SshAccess extends BaseAccess {
|
|||||||
|
|
||||||
@AccessInput({
|
@AccessInput({
|
||||||
title: "伪终端",
|
title: "伪终端",
|
||||||
helper: "如果登录报错:all authentication methods failed,可以尝试开启伪终端模式进行keyboard-interactive方式登录\n开启后对日志输出有一定的影响",
|
helper: "如果登录报错:all authentication methods failed / unable to exec,可以尝试开启伪终端模式进行keyboard-interactive方式登录\n开启后对日志输出有一定的影响",
|
||||||
component: {
|
component: {
|
||||||
name: "a-switch",
|
name: "a-switch",
|
||||||
vModel: "checked",
|
vModel: "checked",
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ export class AsyncSsh2Client {
|
|||||||
let hasErrorLog = false;
|
let hasErrorLog = false;
|
||||||
stream
|
stream
|
||||||
.on("close", (code: any, signal: any) => {
|
.on("close", (code: any, signal: any) => {
|
||||||
this.logger.info(`[${this.connConf.host}][close]:code:${code}`);
|
this.logger.info(`[${this.connConf.host}][close]:code=${code}`);
|
||||||
/**
|
/**
|
||||||
* ]pipeline 执行命令:[10.123.0.2][exec]:cd /d D:\nginx-1.27.5 && D:\nginx-1.27.5\nginx.exe -t && D:\nginx-1.27.5\nginx.exe -s reload
|
* ]pipeline 执行命令:[10.123.0.2][exec]:cd /d D:\nginx-1.27.5 && D:\nginx-1.27.5\nginx.exe -t && D:\nginx-1.27.5\nginx.exe -s reload
|
||||||
* [2025-07-09T10:24:11.219] [ERROR]pipeline - [10. 123.0. 2][error]: nginx: the configuration file D: \nginx-1.27. 5/conf/nginx. conf syntax is ok
|
* [2025-07-09T10:24:11.219] [ERROR]pipeline - [10. 123.0. 2][error]: nginx: the configuration file D: \nginx-1.27. 5/conf/nginx. conf syntax is ok
|
||||||
@@ -279,7 +279,7 @@ export class AsyncSsh2Client {
|
|||||||
}
|
}
|
||||||
stream
|
stream
|
||||||
.on("close", (code: any) => {
|
.on("close", (code: any) => {
|
||||||
this.logger.info("Stream :: close,code: " + code);
|
this.logger.info("Stream :: close,code = " + code);
|
||||||
resolve(output);
|
resolve(output);
|
||||||
})
|
})
|
||||||
.on("data", (ret: Buffer) => {
|
.on("data", (ret: Buffer) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user