增加服务器管理认证方式,增加测试连接接口

This commit is contained in:
dengqichen 2025-10-30 14:48:37 +08:00
parent 0594d1856d
commit b4174c28a5

View File

@ -51,18 +51,21 @@ public class Server extends Entity<Long> {
/**
* SSH密码加密存储
* TODO: 安全改进需要实现加密存储建议使用 AES-256 加密
*/
@Column(name = "ssh_password", length = 500)
private String sshPassword;
/**
* SSH私钥加密存储
* TODO: 安全改进需要实现加密存储建议使用 AES-256 加密
*/
@Column(name = "ssh_private_key", columnDefinition = "TEXT")
private String sshPrivateKey;
/**
* 私钥密码加密存储
* TODO: 安全改进需要实现加密存储建议使用 AES-256 加密
*/
@Column(name = "ssh_passphrase", length = 500)
private String sshPassphrase;