mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-26 08:00:55 +00:00
feat: 增加 ssh 登录日志功能
This commit is contained in:
committed by
zhengkunwang223
parent
b19cdd9339
commit
efd545882f
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user