feat: 增加 ssh 登录日志功能

This commit is contained in:
ssongliu
2023-05-18 16:45:54 +08:00
committed by zhengkunwang223
parent b19cdd9339
commit efd545882f
13 changed files with 724 additions and 223 deletions
+19
View File
@@ -118,4 +118,23 @@ export namespace Host {
encryptionMode: string;
password: string;
}
export interface searchSSHLog extends ReqPage {
info: string;
status: string;
}
export interface sshLog {
logs: Array<sshHistory>;
successfulCount: number;
failedCount: number;
}
export interface sshHistory {
date: Date;
belong: string;
user: string;
authMode: string;
address: string;
port: string;
status: string;
message: string;
}
}